并且在这个过程中让我的生活更加困难?
Bluehost不允许我使用
# no access to this it seems
#DocumentRoot /public_html
# access to this however
#DirectoryIndex
他们的文档说我需要使用
# change the document root using rewrite rules per bluehost document
#RewriteEngine on
#RewriteCond %{HTTP_HOST} ^(www.)?foo.com$
#RewriteCond %{REQUEST_URI} !^/web/
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ /web/$1
#RewriteCond %{HTTP_HOST} ^(www.)?foo.com$
#RewriteRule ^(/)?$ web/index.php [L]
答案 0 :(得分:0)