httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Houston <...@openstrike.co.uk>
Subject Re: [users@httpd] similar proxy rules causing warning
Date Wed, 23 Apr 2014 22:25:51 GMT
On Wed, Apr 23, 2014 at 03:41:54PM -0600, eric tse wrote:
> Have proxy rules
> 
> proxyPass /ABC http://domain.com/abc/
> proxyPass /AbC http://domain.com/abc/
> 
> And get
> The Apache service named  reported the following error:
> >>> [xxx xxx xx xx:xx:xx 20xx] [info] worker http://domain.com/abc/ already
> used by another worker     .

That isn't an error. Rather it is an informational message which you can
tell by the [info] field. You could ignore it if you so wished.

> These rules are to guide people having typos with capital/small letters to
> route to same servers. Apache 2.2 is complaining though.

In which case why not redirect the "wrong" path to the right path and
only proxy that one? eg.

	Redirect 301 /AbC /ABC
	ProxyPass /ABC http://domain.com/abc/

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Mime
View raw message