www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julio Monteiro <monte...@bredam.com.br>
Subject ProxyPass to local IIS
Date Sat, 06 Oct 2001 00:31:10 GMT

I have been sucessfully using the mod_proxy so far with Zope,
to hide away the :8080 part of the URL.

Tough, now I have a different problem, and think I can solve it
with mod_proxy, but I am having some problems, so if anyone
can help, I would be grateful.

The issue is about a Microsoft IIS server in the local intranet,
that I want to be accessible when some special addresses are
called, like, for instance www.somedomain.com:

<VirtualHost 111.222.333.444>
    ServerName www.somedomain.com
    ServerAlias somedomain.com *.somedomain.com
    ProxyPass /
    ErrorLog logs/somedomain.com-error_log
    TransferLog logs/somedomain.com-access_log

If I browse to I get all the
index ASP files in frames of index.html loaded correctly
as text/html.

However if I try http://www.somedomain.com/ I get the
same page, but the ASP files are loaded as text/plain and
are not rendered to html files.

At first I thought it was some IIS bug, and tried to change
configuration parameters, but as I mentioned, if I browse
to, the site works perfectly.

I wondered if it was because mod_proxy does HTTP/1.0
GETs, right? Thus I tried to manually telnet
and GET /somedomain/somefile.asp HTTP/1.0 and the
asp file got to me rendered nicely, have alook at the
response headers:
GET /melissaartesanato/asp/principal.asp HTTP/1.0

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Fri, 05 Oct 2001 20:29:05 GMT
Connection: Keep-Alive
Content-Length: 12096
Content-Type: text/html
Expires: Fri, 05 Oct 2001 20:30:01 GMT
Cache-control: private

This "Cache-control" header may have something to do with it?
Or could it be something else?

Thanks a lot!

JĂșlio Monteiro

View raw message