mod_rewrite not working for Apache 2.2 on Windows 7

后端 未结 2 1670
长情又很酷
长情又很酷 2021-01-03 11:34

I have WampServer up and running on my Windows 7 machine. It is installed in C:/wamp. I have set up my configuration using the following VirtualHosts in the C:/wamp/bin/apac

相关标签:
2条回答
  • 2021-01-03 11:43

    on apache config, changing "AllowOverride" to "All" on the definition of the DocumentRoot will solve the issue

    0 讨论(0)
  • 2021-01-03 11:49

    Double check the name of the .htaccess file. Windows doesn't like to let you create a file with nothing before the period. "You must type a filename".

    Two options.

    • Change AccessFileName to use a different filename.
    • Using the command line to "rename htaccess .htaccess" will work.
    0 讨论(0)
提交回复
热议问题