Reverse proxy (apache) causing ASP.net web apps to stop working
hi
I'm trying to obtain a job within the web development industry. Therefore I'm hosting asp.net,PHP and ror web applications on the same machine. Each language using their traditional server ie ASP.net uses IIS. This means am running 3 servers on different ports. Am not comfortable with opening 3 ports. ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /aspdotnet http://localhost:85/ecommerce ProxyPassReverse /aspdotnet http://localhost:85/ecommerce ProxyPass /rails http://localhost:1010 ProxyPassReverse /rails http://localhost:1010 That is my reverse proxy config but asp.net doesn't like it. My asp.net app automatically redirects you to login page if you're not logged in. The browser is using http://localhost/ecommerce/login.aspx?ReturnUrl=b.aspx instead of accessing the IIS server on port 85 and passing it through the proxy I get a page not found. So url is correct only it's accessing the proxy instead of the IIS server behind it. I have a similar setup for my rails app too. |
All times are GMT -5. The time now is 09:23 PM. |