Shan Biswas Shan Biswas - 1 year ago 83
PHP Question

Dont know how to get mod_rewrite working in wampserver 2.5

Below is my .htaccess file code

DirectoryIndex index.html
RewriteEngine On
RewriteBase /

RewriteRule ^settings$ settings.php [L]

LoadModule rewrite_module modules/
in the httpd.conf file.

I checked from wampmanager menu that
is enabled, there is a tick mark beside
, means mod_rewrite is enabled.

Restarted wampserver several times, but still it is going to a 404 page, if I add
extension then it works fine.

Any suggestions please.

Answer Source

put this .htaccess in DigitalEngine directory and try

DirectoryIndex index.html
RewriteEngine On
RewriteRule ^settings$ settings.php [L]
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download