开发者

.htaccess File Security

Is this .htaccess file safe? Saw it as default in my web host's root folder

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mydomain.com
AuthUserFile /home/myname/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/myname/public_html/_vti_pvt/service.grp

php_flag register_glo开发者_StackOverflow中文版bals off ---BTW throws 500 internal on server

///This doesn't work

///Rewrite and remove .php extension

RewriteCond %{SCRIPT_FILENAME} !-d

RewriteRule ^([^.]+)$ $1.php [NC,L]

Please any ideas? Thank you


Yes. It is safe. Touch it only if you know what you are doing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜