httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Newbie query about proxypass
Date Thu, 19 May 2005 09:55:03 GMT
> -----Original Message-----
> From: de Groot, Peter []
> Sent: Donnerstag, 19. Mai 2005 10:32
> To:
> Subject: [users@httpd] Newbie query about proxypass
> Please help :-)
> New to Apache and am trying to setup a proxy pass to our 
> weather station
> Website running on IIS on a PC on our internal network.   
> Accessable vie
> Am having a few probs ... Starting with this one. .. The dreaded
> trailing slash ;-)
> According to all the doc I have managed to google this rewrite should
> work.
> The problem is that I have to do a refresh the first time I access the
> site with
> MS browsers... Otherwise the in-page images do not come up. After the
> first 
> refresh it is fine ....

I do not see this behaviour with IE6.0... The images load first time.

> Any thoughts ...... Extract below.
> RewriteEngine on
> RewriteRule    /weather$           weather/  [R]

This is a standard prescription for the trailing-slash problem. However, you can avoid the
problem entirely by setting ServerName and UseCanonicalName correctly. If you do this, apache
will make a self-referential URL automatically and you won't need to bother with mod_rewrite
- see for details.
> ProxyRequests off
> ProxyPass            /weather   http://ms-weather.egshs.local/
> ProxyPassReverse     /weather   http://ms-weather.egshs.local/

Your use of trailing slashes is inconsistent here. Either:

	ProxyPass /weather/ http://ms-weather.egshs.local/
	ProxyPass /weather  http://ms-weather.egshs.local

(use / on both paths or neither). However, this doesn't really matter - your setup will just
lead to a proxy request to http://ms-weather.egshs.local//some-file which still works...

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> Regards
> Peter de Groot
> System Administrator
> Eastern Goldfields Senior High School
> Kalgoorlie 6430
> Mob:  0418915312
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>    "   from the digest:
> For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen-
bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature.
It is not related to the exchange or business activities of the SWX Group. Le présent e-mail
est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message