AzzzY ha scritto:
> Sorry, I copied it from my .htaccess
> in your case it should be
>
> RewriteCond %{REQUEST_URI} !^/app/webroot/login
thanks AzzzY but is not working... I changed the .htaccess file under
webroot,
created <webroot>/login and put inside an index.html file, and
restarted apache but when now i type the URL
webroot .htaccess looks like this:
---
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/app/webroot/login
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
documentroot .htaccess looks like this:
---
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/login
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
---
My Document Root on apache is d:\wamp\www\laf
directory structure of laf
app/
cake/
login/
index.php
.htaccess
---
http://localhost/login it says:
"The requested address login/ was not found on this server."
I tried even to change the .htaccess in the same directory where the
/app and /cake directory are but with no luck.
Michele
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---