I have a problem in URL rewriting. I have tried with all the options
step 1:
Options +FollowSymLinks
RewriteEngine On
RewriteRule abc/name/(.*) abc.php?name=$1
step 2:
AllowOverride None modified None to ALL
Step3: Uncommented LoadModule rewrite_module modules/mod_rewrite.so in http.conf file.
still it doesnt work. Please suggest what am i missing.
sunil025@gmail.com
URL rewriting problem
Moderator: General Moderators
Re: URL rewriting problem
This one works for me:
The MultiViews will call your abc.php if it does not find the abc folder... so this may be the reason it does not work. If this doesn't help, please describe what is the error you are receiving... is the abc.php called at all, do you have error HTTP response (500 or 404 or something else), etc.
Code: Select all
Options -MultiViews
RewriteEngine On
RewriteRule ^abc/name/(.*)$ abc.php?name=$1