Forum Moderators: open

Message Too Old, No Replies

ISAPI Rewrite issues with ASP

redirecting an asp page with active form elements

         

ecisney

6:16 pm on Jan 24, 2008 (gmt 0)

10+ Year Member



One of my clients wants to have his default.aspx page hidden to the world. I can certainly use isapi_rewrite to redirect [thesite.com...] to [thesite.com...] but when I do that I break all the active form elements on the page such as the search box and others.

The reason is that these elements obviously post back to the default.aspx page and if I have the rewrite rule activated then it can't resolve. Any ideas?

mrMister

10:56 am on Jan 25, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'd go back to step 1. Why does the client want default.aspx hidden from "the world"?

ecisney

6:35 pm on Jan 28, 2008 (gmt 0)

10+ Year Member



I agree that it is strange. I've tried to convince him that he doesn't need to do it but he thinks it is somehow hurting him with SEO. In any case, it's now my job to do what the client wants - any way to get it done? If the answer is "no" then that's fine too - I can just tell him that it can't be done and close the case :)

GordonS

9:53 pm on Jan 28, 2008 (gmt 0)

10+ Year Member



Using RewriteCond can you skip the RewriteRule if the request is coming in using the POST method instead of the GET method?

I haven't tried this, but it might work.