Double check that AllowOverride isn't being set to something more
restrictive elsewhere in your httpd.conf.  Often the base setting is
None, then there will be another setting for your actual document root
folder.

Of course make sure you restart apache, after making these changes.


On Nov 29, 12:06 pm, Rohit <[EMAIL PROTECTED]> wrote:
> Hi Guys,
> Thank you very much for your prompt reply, it's an Apache 404 error,
> in my httpd.conf file i have following line "LoadModule rewrite_module
> modules/mod_rewrite.so", which i assume enables mod_rewrite(or do i
> need to do something else)? Also, i have set
> <Directory />
>     Options FollowSymLinks
>     AllowOverride All
>     Order deny,allow
>     Allow from all
>     Satisfy all
> </Directory>
> in the httpd.conf file as well, which I assume takes care of
> permission issue, (I know that this is not secure, however i just want
> this to work first, then i would restrict permissions).
> I have provided full permission to the tmp folder,
> do i need to do anything else?
>
> Thanks for your help.
>
> Rohit
>
> On Nov 29, 12:22 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> > When you say 404, is it a Cake 404, or an apache 404?
>
> > Cake 404:
> > Set your Debug to 1 in /app/config/core.php, this will let you know
> > what the error really is.  Delete all the files out of /tmp/cache
> > (leave the folders).
>
> > Apache 404:
> > Make sure mod_rewrite is enabled in your httpd.conf.
> > Make sure "AllowOverride All" is set for your webroot (or whatever
> > folder your cake app resides in)
> > Check that the .htaccess files all exist - some ftp clients ignore
> > them
>
> > On Nov 29, 10:38 am, Rohit <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
> > > I am very new to the cake framework, so please bear with me. I was
> > > assigned on a php project that uses the cake framework, it works fine
> > > when i run it through the debug server(apache), however when i posted
> > > it on the apache production server it keeps returning 'page not found'
> > > error. I am at my wits end trying to figure the problem out, so any
> > > help would be greatly appreciated. i read on the web that this may
> > > have to do with .htaccess files and mod_write issues, however i
> > > couldn't find any solution. I am using Apache 2.2 on windows XP.
>
> > > thanks a lot
>
> > > Rohit
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to