Web App Redirect

  • Thread starter Thread starter Stan Canepa
  • Start date Start date
S

Stan Canepa

I have a web app that works fine on the development machine and on several
servers running Win2k IIS 5 and Windows2003 IIS 6. But I am having an issue
on one particular erver running Win2k IIS 5, but has an Apache server
sending redirects to this server.

My problem is when I try to do a

Response.Redirect ("~/somepage.aspx")

The page calling the Response.Rediect is in the same directory as the
somepage.aspx, but I get 404 Page Not Found Error. This happens everytime.
The test app I was working with was as simple as having two web forms, and
in the page load of the first have the redirct to the other.

Another piece of info that may be of relevance is that the web app is
running on port 90 because the Apache runs on 80. The Apache configuration
file looks something like

Proxypass /dw/ http://machine.company.location.md.us:90/
ProxyPassreverse /dw/ http://machine.company.location.md.us:90/

So www.mainsite.com/dw/ would redirect to my server using port 90.

Any help would be greatly appreciated.

Thanks
 
I forgot to mention another key point. The application runs fine if ran from
the server itself. I only have the problem when accessing the app over the
internet through the Apache server.
 
Back
Top