How to Set AllowOverride all

前端 未结 11 1405
忘掉有多难
忘掉有多难 2020-11-22 10:17

I want to set the AllowOverride all But I don\'t know how to do it. I have found the following code by searching the google and pasted it in .htaccess

11条回答
  •  长发绾君心
    2020-11-22 11:00

    As other users explained here about the usage of allowoveride directive, which is used to give permission to .htaccess usage. one thing I want to point out that never use allowoverride all if other users have access to write .htaccess instead use allowoveride as to permit certain modules.

    Such as AllowOverride AuthConfig mod_rewrite Instead of

    AllowOverride All
    

    Because module like mod_mime can render your server side files as plain text.

提交回复
热议问题