Need to deploy without physical ASPX pages

J

joe

Is there a way to deploy a web site with several physical aspx pages left out?

Say the client requests ABC.aspx. I want to intercept the request (which I already do with a custom HttpModule) and then Server.Transfer() to another page. Everything works, except that at this point I still have to deploy a meaningless and empty ABC.aspx page.

BTW: I do this to assist Search Engines to better index our site without name/value pairs on the URL.

Thanks,
Joe
 
S

Scott Allen

Hi Joe:

At what point are you intercepting the request? Using
Application_BeginRequest should be early enough to avoid needing
ABC.aspx to exist.

Also, in the IIS script mappings for your application (Home Directory
-> Configuration -> Mappings in the MMC), verify that ASPX has "Verify
that file exists" unchecked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top