Wedge
Public area => Documentation => Topic started by: Pandos on November 19th, 2012, 06:15 PM
-
This will be the default setup to make cherokee work with PrettyURLs in wedge.
Step one:
Go to cherokee admin and select the desired server.
Step two:
Change Handler of default from List&Send to redirect.
Step three:
Switch to Handler and choose Redirection as the desired handler.
Click on "Add new RegEx".
Choose "Internal" and type as Regular Expression:
Type as Substitution:
(http://img4.fotos-hochladen.net/thumbnail/cherokee1hi7pfqew1v_thumb.jpg)(http://www.fotos-hochladen.net/view/cherokee1hi7pfqew1v.png)
Step four:
Click on Behavior + and add a behavior rule:
File Exists
(http://img4.fotos-hochladen.net/thumbnail/cherokee20g3djyvelh_thumb.jpg)(http://www.fotos-hochladen.net/view/cherokee20g3djyvelh.png)
Switch to Handler and make List & Send as default handler for this rule.
Move this new rule directly over Default.
(http://img4.fotos-hochladen.net/thumbnail/cherokee37iq1auneog_thumb.jpg)(http://www.fotos-hochladen.net/view/cherokee37iq1auneog.png)
Step five:
Click "SAVE" and restart cherokee.
Please make sure that PHP is always on top and it's status is "NON FINAL"