Re: Configure::write('App.baseUrl', env('SCRIPT_NAME')); missing controller

2012-07-14 Thread sb
I have the same problem. I am choosing NOT to use mod_rewrite. I followed 
the instructions in the blog tutorial, but I get missing controllers.
If I don't use mod_rewrite, then I am instructed by the tutorial to delete 
.htaccess. Do I still need to edit the httpd.conf for the overrides?

-sb

On Saturday, June 16, 2012 5:32:28 AM UTC-4, Anooj P wrote:


 1)   Make sure that an .htaccess override is allowed: in your httpd.conf, 
 you should have a section that defines a section for each Directory on your 
 server. Make sure the AllowOverride is set to All for the correct 
 Directory. For security and performance reasons, do *not* set 
 AllowOverride to All in Directory /. Instead, look for the 
 Directoryblock that refers to your actual website directory.

2)  Make sure you are editing the correct httpd.conf rather than a 
 user- or site-specific httpd.conf.
3)Make sure Apache is loading up mod_rewrite correctly! 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.

 you wil get more info here
 http://book.cakephp.org/compare/333/A-Note-on-mod_rewrite/cakephp/cakephp1x


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Configure::write('App.baseUrl', env('SCRIPT_NAME')); missing controller

2012-06-16 Thread Anooj P


 1)   Make sure that an .htaccess override is allowed: in your httpd.conf, 
 you should have a section that defines a section for each Directory on your 
 server. Make sure the AllowOverride is set to All for the correct 
 Directory. For security and performance reasons, do *not* set 
 AllowOverride to All in Directory /. Instead, look for the Directoryblock 
 that refers to your actual website directory.

   2)  Make sure you are editing the correct httpd.conf rather than a user- 
or site-specific httpd.conf.
   3)Make sure Apache is loading up mod_rewrite correctly! 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.

you wil get more info here
http://book.cakephp.org/compare/333/A-Note-on-mod_rewrite/cakephp/cakephp1x

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php