[Zope-dev] Re: [Zope] PCGI?

Oliver Bleutgen myzope@gmx.net
Sat, 15 Feb 2003 11:42:41 +0100


Jamie Heilman wrote:
> Leonardo Rochael Almeida wrote:
> 
>>RewriteRule ^(.*)$ http://127.0.0.1:8080/VirtualHostBase/http/%{HTTP_HOST}:%{SERVER_PORT}/some/folder/VirtualHostRoot$1 [P,L]
>>
>>This way you don't have to worry about what hostname the user uses to
>>access their site.
> 
>[security considerations snipped]

And here's an argument which is not security related:
This RewriteRule is broken, because HTTP_HOST might contain the port 
number. IIRC, wget does this, and the HTTP RFC does allow that.

cheers,
oliver