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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -