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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -