httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Cohen <kildau...@gmx.de>
Subject Re: [users@httpd] proxypass problems
Date Tue, 15 Jul 2008 15:40:02 GMT
Nick Kew schrieb:
> On Tue, 15 Jul 2008 14:16:10 +0200
> Chris Cohen <kildau-ml@gmx.de> wrote:
>
>
>   
>> Thanks for your reply. Although it's just cosmetical I don't mind 
>> reading some docs. So, could you please point me in the right 
>> direction? What can I use to rewrite the content? mod-rewrite?
>>     
>
> http://www.apachetutor.org/admin/reverseproxies
>
>   
Thanks.
I read your article two times now and have changed m configuration to 
the following:
<VirtualHost mirror.example.org:80>
        ServerAdmin webmaster@example.org
        ProxyRequests Off
        ProxyPass       /       http://localhost:8080/mirror/
        ProxyHTMLURLMap http://localhost:8080/mirror /
        <Location />
                ProxyPassReverse /
                SetOutputFilter proxy-html
                ProxyHTMLURLMap /       /mirror/
                ProxyHTMLURLMap /mirror /
                Order deny,allow
                Allow from 10.1.0.0/16
                Deny from all
        </Location>
</VirtualHost>

Should be ok if I understood you right. But as soon as I add 
ProxyHTMLURLMap /       /mirror/
the path is correct but the hostname removed. I get links like:
http://pub/mirror instead of http://mirror.example.org/pub/mirror/.
The /icons path is also still wrong.
Did I understand something wrong?

-- 
Thanks
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