开发者

CakePHP webroot not accessible on new Apache setup

开发者 https://www.devze.com 2023-01-20 16:42 出处:网络
I\'ve just set up a new Ubuntu 10.4 slice on Slicehost, and have installed apache, mysql and php. I\'ve uploaded my CakePHP app and everything is running fine, except for the webroot being inaccessibl

I've just set up a new Ubuntu 10.4 slice on Slicehost, and have installed apache, mysql and php. I've uploaded my CakePHP app and everything is running fine, except for the webroot being inaccessible. I have tried adding AllowOverride to all in /etc/apache2/sites-available/default and followed the Cake instructions to httpd.conf by adding

<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all</Directory>

However, this is still not redirecting properly. I've hacked the css script tags to point to /app/webroot/css but would r开发者_如何学编程eally like to know how to solve this issue properly. Any help would be much appreciated, this is the first time for me to setup a new slice, so apologies for the noobish question


For me this sounds like mod_rewrite problem. Could you check if you enabled your mod_rewrite in apache configuration?

0

精彩评论

暂无评论...
验证码 换一张
取 消