You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Markley, Aaron" <AM...@medcentral.org> on 2002/03/05 22:25:07 UTC

proxy problem

Hello all,

	I'm running Apache 1.3.19 on HP-UX 11.i...  I have a server inside
my organization's intranet (called RADX) which serves a web-based
application.  I would like to access this from outside the intranet, so I
have my server (the HP-UX one, called CORE) trying to be the barrier between
RADX and the outside.  I'd eventually like to use LDAP to authenticate on
CORE, but that's a whole other headache which this problem doesn't deal
with.  I'm attemping to make this work with proxying, and I'm having limited
success...
	I have a default virtual host and in addition I have created a
virtual host on CORE, 99.999.9.99:13598, which I'm trying to do this
proxying through to RADX (IP address = 88.8.8.88):

NameVirtualHost 99.999.9.99:80
NameVirtualHost 99.999.9.99:13598

<VirtualHost 99.999.9.99:80>
    ServerAdmin root@core.medcentral.org
    DocumentRoot /opt/apache/htdocs
    ServerName core.medcentral.org
    ErrorLog logs/core_error
</VirtualHost>

<VirtualHost 99.999.9.99:13598>
    ServerAdmin root@core.medcentral.org
    ServerName radx.medcentral.org
    ErrorLog logs/radx_error
    DirectoryIndex index.html index.htm default.htm

    ProxyRequests On 

    ProxyPass / http://88.8.8.88
    ProxyPassReverse / http://88.8.8.88

</VirtualHost>


Now, when I set this up and try to hit 99.999.9.99:13598, I get the correct
page for 88.8.8.88 (aka RADX), except none of the gifs and the background
image for the page don't come up.  I know these things are in a lower
directory on 88.8.8.88 (here's a piece from my access_log when I hit
88.8.8.88 directly):


88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET / HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_themes/lawteam-chalk/chabkgde.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET /images/rioopus.gif
HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET /images/smiley.gif
HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/home_cmp_lawteam-chalk110_hbtn_p.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/home_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_srch.htm_cmp_lawteam-chalk110_hbtn.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_srch.htm_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_frm.htm_cmp_lawteam-chalk110_hbtn.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_frm.htm_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/downloads.htm_cmp_lawteam-chalk110_hbtn.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/downloads.htm_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/comments.htm_cmp_lawteam-chalk110_hbtn.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/comments.htm_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_news.htm_cmp_lawteam-chalk110_hbtn.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_derived/lawteam_news.htm_cmp_lawteam-chalk110_hbtn_a.gif HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET /images/apache_pb.gif
HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET /images/createdwFP.gif
HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET /images/bill.gif
HTTP/1.1" 304 -
88.8.1.1 - isuser [05/Mar/2002:12:10:03 -0500] "GET
/_vti_bin/fpcount.exe/?Page=index.htm|Image=2|Digits=3 HTTP/1.1" 200 828


As you can see, it goes into the _derived, images, and _themes directories
to get the right images.  

My question is, why are these images not coming up when I proxy via
99.999.9.99?  Let me know if you need more info or need to see more of my
conf file...

Thanks!

Aaron Markley
Information Services Department
MedCentral Health System
335 Glessner Avenue
Mansfield, OH 44903
419.520.2516
amarkley@medcentral.org


(It may not look like it, but this is supposedly plain text!)