No intro or background, to get the RewriteRule to work in htaccess you need to activate it. This is specifically for Apache and not ISAPI rewrite on IIS.
- Open httpd.conf
- Look for MULTIPLE occurances of AllowOverride None
- Change to AllowOverride All
- Un comment this line #LoadModule rewrite_module modules/mod_rewrite.so
- Save & restart the apache server
Couple of note worthy points:
- Apache recommend not using htaccess for peformance reasons. There are other methods for nice urls.
- This is a Dev environment. I've not check out if the above has any security issues, for live servers.
Retweet this button on every post blogger
No comments:
Post a Comment