Subversion and Website Reverse Proxy configurations

Feb 16, 2010 at 3:19 AM
Edited Feb 16, 2010 at 3:22 AM

Hi,

I have two reverse proxies configured. The first is for a Subversion server. The second is for a website, that is in a subfolder of the website root.


RewriteEngine On

RewriteRule ^/svn(.*)   http://localhost:81/svn$1 [P,L]

RewriteRule ^(.*)$   http://0.0.0.0/integration$1 [P]


 

The subversion reverse proxy works perfectly. The website reverse proxy throws this error:


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/15/2010 12:35:26 PM
Event time (UTC): 2/15/2010 8:35:26 PM
Event ID: c6f927004c0149a7a12245ce0aea2460
Event sequence: 28
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-129107396259215544
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\vhosts\default\htdocs\
    Machine name: xxxx
 
Process information:
    Process ID: 2588
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpException
    Exception message: The requested url, <http://0.0.0.0/integration/index.html>, could not be found.
 
Request information:
    Request URL: http://0.0.0.0/index.html
    Request path: /index.html
    User host address: 0.0.0.0
    User:  
    Is authenticated: False
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 6
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at ManagedFusion.Rewriter.ProxyHandler.SendRequestToTarget(HttpContext context) in C:\Documents and Settings\BerardiN\Desktop\Managed Fusion (Open Source)\ManagedFusion.Rewriter\Source\ProxyHandler.cs:line 322
   at ManagedFusion.Rewriter.ProxyHandler.ProcessRequest(HttpContext context) in C:\Documents and Settings\BerardiN\Desktop\Managed Fusion (Open Source)\ManagedFusion.Rewriter\Source\ProxyHandler.cs:line 490
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


 

If I disable the second reverse proxy, I can then properly browse to the URL that throws the error.

Any Ideas?

Thanks,

Derek

Feb 17, 2010 at 3:53 AM

I have tried a whole bunch of trial and error changes with no luck yet :(

It seems like the URL rewrite is occurring, but something is preventing the URL from resolving.

Coordinator
Feb 20, 2010 at 2:40 AM

Well you do know that "0.0.0.0" isn't a real IP address that will never resolve right?

Feb 20, 2010 at 6:49 PM

Thanks for the reply.

I should have mentioned that those were fake I.P. addresses. I changed them for security. I have used localhost with the same error results.

Let me know if you think of any debug steps I could take.

Derek