开发者

.htaccess not working on WAMP

I have installed WAMP on Windows. I found开发者_StackOverflow中文版 .htaccess files are not working here. Is there any way to work with .htaccess?


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.


1) Left click WAMP icon

2) Apache

3) Apache Modules

4) Left click rewrite_module


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜