cake-php@googlegroups.com
[Top] [All Lists]

Default Routes

Subject: Default Routes
From: p_W
Date: Tue, 23 Feb 2010 15:43:27 -0800 PST
When I am using cake in a development setup, and access the
application at http://localhost/, the default routes work just fine.
However, when I put the app into production, I seem to have problems
if the app's webroot is not set as the documentroot of a virtualhost.
E.G., if I have a webserver with DocumentRoot /var/www/html, and I put
my cakephp app in the html directory, I should be able to go to
http://example.com/myapp and use the app like normal.  However,
example.com/myapp/controller gives a webserver error.  I have
mod_rewrite enabled, and thought it would pipe all requests for the
top level cake folder down to the webroot?  Am I missing something?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>