It should do it automatically, you must not have mod_rewrite enabled?
On Oct 6, 1:48 pm, Josh K <[email protected]> wrote:
> My Cake app is set up with mod_rewrite like
> this:http://www.domain.org/index.php/page
>
> Is there a way I can remove the index.php part with mod_rewrite so
> that my urls would look like this?:http://www.domain.org/page
>
> Here's my three .htaccess files:
>
> .htaccess
>
> RewriteEngine on
>
> app/.htaccess
>
> RewriteEngine on
> RewriteBase /
> RewriteRule ^$ webroot/ [L]
> RewriteRule (.*) webroot/$1 [L]
>
> app/webroot/.htaccess
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---