Replaying to myself... after some coffee I figured out I missed a slash.
ProxyHTMLURLMap /mirror/ / and the links are ok.
So theres only the icons problem left.
I tried something like
ProxyHTMLURLMap /mirror/icons/ /icons and ../icons but neither of them
works.
It looks like its getting ignored. Maybe because of the /mirror/ / rules?
Apache on the internal server looks for /icons in /mirror/mirror/icons/.
Thanks
Chris
Chris Cohen schrieb:
Nick Kew schrieb:
On Tue, 15 Jul 2008 14:16:10 +0200
Chris Cohen <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
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?
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]