Antonio, Big thanks :)
That worked...just had to use your ideas to my setup :) So if someone is just hosting wikkawiki ( http://wikkawiki.org/ ) Heres a cookbook entry to get this working ========================================= In the wikka.config.php set the following 'base_url' => 'http://gnusys.net/', 'rewrite_mode' => '1', Login to your cherokee-admin interface and define a virtual host (copy the default one ) for gnusys.net Under behaviour => add a new rule for "File exists" and select "Match any file" and Select "List & Send " as its Handler Drag and drop it to make it come under the php rule Under behaviour => add a new rule "Regular expression" and select ^/(.*)$ Type: Internal Regular Expression: (Leave empty) Substitution: /wikka.php?wakka=$1 Drag and drop it to make it come under the php rule and the "file exists" rule we created above Save and do a graceful restart and the wikkawikki should work fine :) ================================== 2009/5/12 Antonio Pérez <[email protected]> > Hello > > On Sat, May 9, 2009 at 6:47 PM, Anoop Alias <[email protected]> > wrote: > > > basically what this trying to do is rewrite all url in the format > > > > http://somw-url.com/wiki/wikka.php?wakka=$1 > > > > Heres what i did > > > > Under behaviour => created a new directory wiki with handler Redirection > and > > the following > > Internal Redirect Rule > > ^/(.*)$ http://gnusys.net/wiki/wikka.php?wakka=$1 > > I would do a "regular expression" rule with this value: "^(.*)$" > (without quotes). Assign it the redirection handler with: > > Type: Internal > Regular Expression: (Leave empty) > Substitution: /wiki/wikka.php?wakka=$1 > > And finally, reorder it below "php rule". > > -- > Saludos: > Antonio Pérez > -- Anoop P Alias (PGP Key ID : 0x014F9953) GNU system administrator http://GnuSys.net
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
