I placed my webroot outside the app directory. Actual structure is:
/app
/cake
/www -> contains web files (previously in /app/webroot)
Everything works fine when Apache docroot points to /www, but when
docroot points to /, some weird things start occurring: it doesn´t
find appropriately CSS and JS files, and restarts the session when I
enter /.
Can someone help me?
My /.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ www/ [L]
RewriteRule (.*) www/$1 [L]
</IfModule>
My /www/.htaccess (seems to be working fine)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
Thanks!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---