httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Cohen <kildau...@gmx.de>
Subject [users@httpd] proxypass problems
Date Mon, 14 Jul 2008 11:27:14 GMT
Hi all,

again... I am a total apache newbie.
What I have is:
- A webserver in my dmz with a dedicated vhost + ip
- A ssh tunnel to an internal webserver
- An internal webserver with a directory called mirror in /

As you might imagine I want to access the dir mirror on the dmz webserver.
This is what I've tried on the dmz webserver:

<VirtualHost mirror.example.org:80>
        ServerAdmin webmaster@example.org
        ProxyRequests Off
        <Location />
                Order deny,allow
                Allow from 10.1.0.0/16
                Deny from all
                ProxyPass               http://localhost:8080/mirror/
                ProxyPassReverse        http://localhost:8080/mirror/
        </Location>
</VirtualHost>

... and it actually works. I can access all the files. BUT
Apache is looking for /icons in the wrong directory and (what is much 
more annoying) the autoindex module generates wrong links.
For example:
I am in the dir /pub/software/ and want to go into the "Parent 
Directory", but the link points to /mirror/pub/ instead of /pub/.

What's wrong with my configuration?

-- 
Thank you
Chris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message