LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2008, 05:02 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 07:20 PM
ASP and ASP .NET running on Apache? isra_mv Linux - Server 1 10-28-2007 05:39 PM
Web Server For ASP Apps rn5a Linux - Newbie 1 08-31-2007 01:15 AM
Running ASP.net on an apache server adam_blackice Linux - Server 1 03-05-2007 01:37 PM
Good Linux Web Hosting with ASP.NET LinuxGeek General 1 08-23-2004 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration