On 1/5/07, ms <[EMAIL PROTECTED]> wrote:
The situztion is this: apache webserver have the DocumentRoot set to /usr/local/htdocs; I want to install CakePHP but not in the document root, so I created an alias like Alias /prova /var/www and then for that directory AllowOverride All. I copied all CakePHP files inside /var/www so that I have /var/www/app, /var/www/config and so on. With this situation, if I use http://192.168.4.6/prova I see the home page of Cake. Second step I started creating the skeleton of an User auth system with the controller under /var/www/app/controllers, the model under /var/www/app/models and the view under /var/www/views/users. When I user http://192.168.4.6/prova/users I have a 404 error message (the url /var/www/app was not found on this server). Where I'm wrong?
Check that you have mod_rewrite enabled. Make sure that you have something like: LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so Of course the directory that contains your mod_rewrite.so might be different in your setup. HTH. -- _nimrod_a_abing_ [?] http://abing.gotdns.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
