apache - Why is my service provider limiting my htacess use? -
and in process making life more difficult?
bluehost not let me use
# no access seems #documentroot /public_html # access #directoryindex
and docs need use
# change 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]
i had problem before, looks have updated access can use direcotryindex
.
see bluehost documentation here.
for documentroot
have work around here.
your web framework lists yet solution here.
<ifmodule mod_rewrite.c> options -multiviews rewriteengine on #rewritebase /path/to/app rewritecond %{request_filename} !-f rewriterule ^ index.php [qsa,l] </ifmodule>
Comments
Post a Comment