Deepak
Deepak

Reputation: 1095

.htaccess not working on WAMP

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

Upvotes: 15

Views: 27274

Answers (3)

Tamilselvan S
Tamilselvan S

Reputation: 23

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.

Upvotes: 1

Andy
Andy

Reputation: 995

1) Left click WAMP icon

2) Apache

3) Apache Modules

4) Left click rewrite_module

Upvotes: 20

Sanjeev Chauhan
Sanjeev Chauhan

Reputation: 4097

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.

Upvotes: 24

Related Questions