QueryString doesn't seem to work on a form submit

Topics: Developer Forum, User Forum
Aug 10, 2012 at 9:36 AM

Hi there, 

I have got a web form in a page called demo.asp

When people get to the url www.xxx.com/demo.asp I'm rewriting the url to www.xxx.com/demo

with the following rule

RewriteRule (.*?)/(demo) $1/demo.asp [L]

The problem is that my form action is using a QueryString:
www.xxx.com/demo.asp?action=sendEmail

and that doesn't seem to work, the form is not being submitted. 

Please can someone give me a hand with writing the correct RegEx for it?

Many thanks

Oct 23, 2012 at 3:01 PM

For questions about regular expressions, try posting on http://stackoverflow.com/  instead.