Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.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?

like image 969
Deepak Avatar asked Dec 01 '10 07:12

Deepak


3 Answers

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.

like image 177
Sanjeev Chauhan Avatar answered Nov 11 '22 19:11

Sanjeev Chauhan


1) Left click WAMP icon

2) Apache

3) Apache Modules

4) Left click rewrite_module

like image 20
Andy Avatar answered Nov 11 '22 18:11

Andy


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.

like image 1
Tamilselvan S Avatar answered Nov 11 '22 18:11

Tamilselvan S