tags:

views:

460

answers:

1
<VirtualHost *:80>
ServerName mine.abc.def.edu
ProxyPassMatch ^(/.*\.aspx.*) http://mine.abc.def.edu:8080/$1
</VirtualHost>

I am running IIS on port 8080, and Apache on port 80. I have gotten the above in the apache config to successfully redirect ASP.NET pages to IIS, but the images on the pages are missing. I was thinking I need some sort of Reverse Proxy rule that says "if the request for the image or other resource is coming from a aspx page, then add port 8080", but I'm not sure how to accomplish this.

+2  A: 

Can you use a different virtual host name, or subdirectory, for the IIS server? That way you can match on the host header in your mod_proxy setup.

crb
I'm not sure about using a different hostname. I did think about using a subdirectory, but it wouldn't be ideal.
AaronLS