On Feb 24, 8:27 pm, smacks <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I'm currently working on a content management system (yah, I know ...)
> and I would need to have the following URL's linked to a
> "fileController", because I would need the users to be able to manage
> the files on their webserver.
>
> URL's:
> "mycms/files" (linked to action->index in fileController)
> "mycms/files/edit/1" (linked to action->edit in fileController)
> etc ...
>
> The problem is, whenever I goto "mycms/files" I get redirected to
> "mycms/app/webroot/files/".
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d <--- Delete this line
from your webroot .htaccess file.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---