Saturday, August 27, 2011

Re: third level domain and cakephp

First, your line:

RewriteCond %{REQUEST_URI} !img/

That should be:

RewriteCond %{REQUEST_URI} !^/img/ (in other words, don't forget the opening ^ and first forward slash to make it match properly)

I'm going to run some tests on it on my server to see if I can figure out a pattern that works properly.

I have a hunch that we should be putting these rules in app/webroot/.htaccess instead, but I'll let you know that as well ASAP :)

Ben

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: