Link to home
Create AccountLog in
Avatar of procit
procit

asked on

How to write rules for Helicon ISAPI URL Rewrite?

I want to rewrite this URL:

   http://localhost/moviemusicportal/MainMenu.aspx?MenuItem=CommonMaintenance

I have written following rules in httpd.conf file:

RewriteEngine on
RewriteRule ^/moviemusicportal/([a-zA-Z0-9\s\-\_]*)(/?)$ /moviemusicportal/MainMenu.aspx?MenuItem=CommonMaintenance [L,NC,QSA]
RewriteRule ^/moviemusicportal/([a-zA-Z0-9\s\-\_]*)/([a-zA-Z\-\_0-9]*)(.aspx)$ /moviemusicportal/MainMenu.aspx?MenuItem=CommonMaintenance [L,NC,QSA]
RewriteRule ^/moviemusicportal/([a-zA-Z0-9\s\-\_]*)/admin/([a-zA-Z\-\_0-9]*)(.aspx)$ /moviemusicportal/admin/MainMenu.aspx?MenuItem=CommonMaintenance [L,NC,QSA]

Its not working any more. I have IIS 5.1
Avatar of Adam
Adam
Flag of United Kingdom of Great Britain and Northern Ireland image

What are you trying to rewrite it as? i.e. what page do you want to serve up instead?
Avatar of procit
procit

ASKER

I want to rewrite it as:
 http://localhost/moviemusicportal/menu/MainMenu.aspx or in any other form than original.
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of procit

ASKER

None