How to enable mod_rewrite for Apache 2.2

后端 未结 15 1318
渐次进展
渐次进展 2020-11-21 07:09

I\'ve got fresh install of Apache 2.2 on my Vista machine, everything works fine, except mod rewrite.

I\'ve uncommented

LoadModule rewrite_module mo         


        
15条回答
  •  有刺的猬
    2020-11-21 07:34

    If non of the above works try editing /etc/apache2/sites-enabled/000-default

    almost at the top you will find

    
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        allow from all
    
    

    Change the AllowOverride None to AllowOverride All

    this worked for me

提交回复
热议问题