How to Set AllowOverride all

前端 未结 11 1390
忘掉有多难
忘掉有多难 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 10:57

    Goto your_severpath/apache_ver/conf/ Open the file httpd.conf in Notepad.

    Find this line:

    #LoadModule vhost_alias_module modules/mod_vhost_alias.so

    Remove the hash symbol:

    LoadModule vhost_alias_module modules/mod_vhost_alias.so

    Then goto

    and change to:

    
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    
    

    Then restart your local server.

提交回复
热议问题