Hi Dorottya,

That would be something like this if you are using cherokee-admin:

<<inline: redirect.jpg>>





On 16 Apr 2008, at 00:59, Stefan de Konink wrote:
On Wed, 16 Apr 2008, Dorottya Darvas wrote:

i am trying to switch from lighttpd to cherokee 0.6. i needto rewrite an
url, could you help me with that (how to do this)
i'd like to have
http://dornyika.com/blog
instead of
http://dornyika.com/cgi-bin/blosxom.cgi

It must beable to do it from the admin, but I didn't do it from there yet.

This is an example:

vserver!default!request!^.+/([a-z]+).xsl$!priority = 21
vserver!default!request!^.+/([a-z]+).xsl$!handler = redir
vserver!default!request!^.+/([a-z]+).xsl$!handler!rewrite!1! substring =
/$1.xsl
vserver!default!request!^.+/([a-z]+).xsl$!handler!rewrite!1!show = 0

so basically it will rewrite anything /,.p,.p,.p/bla.xsl to -> / bla.xsl

Stefan

_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to