proxypass problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
       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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux