.htaccess not working on WAMP

前端 未结 3 1511
独厮守ぢ
独厮守ぢ 2021-01-01 21:30

I have installed WAMP on Windows. I found .htaccess files are not working here. Is there any way to work with .htaccess?

相关标签:
3条回答
  • 2021-01-01 22:12

    1) Left click WAMP icon

    2) Apache

    3) Apache Modules

    4) Left click rewrite_module

    0 讨论(0)
  • 2021-01-01 22:24

    Click on Wamp icon and open Apache/httpd.conf and search "rewrite_module". Remove # as below and save it

    LoadModule rewrite_module modules/mod_rewrite.so
    

    after that restart all service.

    0 讨论(0)
  • 2021-01-01 22:32

    Open Apache/conf/httpd.conf and search "rewrite_module".

    Remove # as below

    #LoadModule rewrite_module modules/mod_rewrite.so
    as
    LoadModule rewrite_module modules/mod_rewrite.so

    Then Save it and restart your server. It will work.

    0 讨论(0)
提交回复
热议问题