On Wed, 2009-10-07 at 00:39 -0700, Ossama Khayat wrote: > --- On Wed, 10/7/09, Walter Ebert <[email protected]> wrote: > > From: Walter Ebert <[email protected]> > > Subject: Re: [Cherokee] Redirection Handler with Concrete5 CMS > > Hi Ossama, > > > > Take a look here: > > http://blog.walterebert.com/using-pretty-urls-in-concrete5-with-cherokee > > Wonderful article. It worked for me. What I'm trying to do though is to apply > the rule to a subdirectory using the default virtual host. Just like you > place an .htaccess file within a directory and it is inherited by the > subdirectory. > Also, it would be great if a Wizard is created for this. I had a look at the > wizard files, and I'm trying to do one for Concrete5. > For a subdirectory you can add a "Regular Expression" rule and set a redirection handler. Something like: Regular Expression: ^/concrete5/ Handler: Redirection: ^/concrete5/(.*)$ /concrete5/index.php/$1
And, of course, add the subdirectory to the other concrete5 rules. Leaving the default at List & Send. I haven't tried creating a wizard yet. Cheers, Walter _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
