You have to look in the httpd.conf file to see if it is allowed or not. You should see something like LoadModule rewrite_module libexec/ httpd/mod_rewrite.so or (for Apache 1.3) AddModule mod_rewrite.c in your httpd.conf.
See: http://book.cakephp.org/view/333/A-Note-on-mod_rewrite On Jan 5, 7:32 am, will <[email protected]> wrote: > Sorry - the .htaccess file in the /app/webroot folder has the > following lines in it: > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] > </IfModule> > > Is this the file in question? > > Thanks very much > > On Jan 5, 12:15 pm, "[email protected]" <[email protected]> wrote: > > > be sure to check if mod_rewrite is allowed from .htaccess > > > On Jan 5, 12:01 pm, will <[email protected]> wrote: > > > > Hi there, > > > > Thought I'd already posted this, but it didn't seem to be listed. > > > Apologies if this appears twice, then. > > > > I've been playing with cake on my local machine and decided to upload > > > it to my host's server to check that it works there. The page that > > > should be the Cake homepage appears as an Apache index page - a list > > > of the directories (app/ and cake/). Trying to access any controller > > > functions results in a 404 not found error. > > > > My hosts (UK2, if anyone has had experience with them) tell me than > > > mod_rewrite is enabled on my (shared) server. > > > > Would greatly appreciate any help on this matter. > > > > Thanks a lot > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
