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@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment