apache - .htaccess blocking access to PHP page -
i have directory in apache web service. if have no configuration file in can access test.php
file in it, add following .htaccess
file 404 error.
why , needs added or changed in .htaccess
file?
<ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d # note: if added web_prefix config, add here too, e.g.: rewriterule (.*) /shindig/index.php [l] #rewriterule (.*) index.php [l] # oauth signatures work posted data, # always_populate_raw_data needs turned on php_flag always_populate_raw_post_data on php_flag magic_quotes_gpc off </ifmodule>
temporarily change [l] [l,r], , see if redirecting.
it may need removing / before shindig working.
Comments
Post a Comment