On Wed, Mar 9, 2011 at 8:52 PM, Alvaro [Andor] <[email protected]> wrote: > On 10/03/11 03:36, Tony Zakula wrote: >>>>> >>>>> RewriteRule ^$ app/webroot/ [L] >>>>> RewriteRule (.*) app/webroot/$1 [L] >> >> Well you do not need the "[L]" >> >> Is app/webroot/ a web URL or a directory? >> > The [L] is because I copied that two lines from the apache .htaccess . > > app/webroot is a directory that happens to be inside of the document root > for that domain: > > document root: > /var/www/domain.com > > app/webroot/ location: > /var/www/domain.com/webroot/app >
So I am still not sure what you are trying to do. :-) Those two rewrite rules look like you really just want to all traffic to go to a different physical directory. That is not a URL rewrite so you would use a directory rule to or something like that. _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
