-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo,
just another problem occurred: I added a rule to handle all requests to /static by static content handler. The problem is, that not neccessarily a "static" folder exists under the specified webroot. I'd rather like to strip the "/static" from the lookup path, so if I request http://localhost/static/image.png, I'd like cherokee to respond with the file under /var/www/image.png, if I specify /var/www as the document root to use in the static content handler. I can't simply redirect to /image.png (at least not as far as I understand the redirect mechanisms), because as default handler a SCGI source is attached, which can be accessed at all paths under /, except of /static where the static files should be served. What I'd need would be more like the URL-Rewrite mechanisms apache or lighttpd feature, to make the static content handler use only the /image.png instead of the /static/image.png for document retrieval. Thanks for your help, Julian -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJM7ac5AAoJENidYKvYQHlQ6kEP/2BUUdsit3R9dx3NbEHA5TwF JwLRDYdZTnQ3tJg9gZFei9DpZDSvDX/wk0snCjCMi/0hVb8tCHiw90k1m+wUIUIz EnS4sRAD1Lk4jbpZhNOFYqrd+suS+tcMJNdT9hyiSdvUZp2m6bO90ubg/2m6zaFO qzd81xjWMpLi1cjGp/s7P3TDv4gCfwxeCvZNAYC3jC0Px96HazwhOfSIKdiSjnPu sMpBdvEKIAwv6Sv/oJ8VENssW8PJIdrVPJveMS4zuAkvZry69S6Z4meXZl2h42UL 8TPzAPG0rOAxU3k0tHAhKC8TYBIh9DtHZaS9Vth7aI2SqfGK0mJmj1dUyO2xXbJK VGKky17WonU4/bqdGvS+yBkoHZpoTEhJkB6xhkEFAXek4PQ7iioEws+D7+ARUjd9 OvWenGto6h89zqdVR1sR1uZCYaLrQ7wwAPQOOY7fbRRVR4P/1FfWw1XWPCVAJ2GK ogWExhv8DFPtQgHQPnww3Vm9nTn5mfcqpyHZLcLJq1DuXD+EM90lqYfvW3447S1/ qIisu2SBrwVbWX0tgygoaA1XneIfGH68tiAqx4Q7UPk+VMBMZppE1iwWfWmSjlWN uwTcIRwZovVfv+T7xwnh4dYQl71jVqh4YP9XN5GYsIcz0rbwEx9c7IlJHFZwLsC9 C8vVQ6Iw9kl2yu3PCGR9 =9BJY -----END PGP SIGNATURE----- _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
