cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz "Goliatus" Tańczyk <>
Subject Re: Apache and ProxyPass
Date Sun, 05 Sep 2004 17:45:35 GMT
Witaj Grzegorz,

Ok problem solved:
ProxyPreserveHost On

But here is rest of this story:

RewriteEngine On
RewriteRule "^/(.*)" "http://localhost:8080/domain/$1" [P]

ProxyPassReverse / http://localhost:8080/domain/
ProxyErrorOverride On
ProxyPreserveHost on

RewriteEngine On

RewriteRule "^/(.*)" "http://localhost:8080/domain/alias/$1" [P]

ProxyPassReverse / http://localhost:8080/domain/alias/
ProxyErrorOverride On
ProxyPreserveHost on
</VirtualHost> <- this one is ok <- this one is wrong, because cocoon says
that requested url was:
It should be:

How to fix it?

W Twoim liście datowanym 5 września 2004 (19:13:10) można przeczytać:

GGT> Witajcie!

GGT>  I have problem with configuring apache after
GGT>  reading:

GGT>  Problem is with request input module and get-requested-url variable.
GGT>  It starts with http://localhost. How to configure apache to have
GGT>  correct request-url in sent by browser? My configuration contains:
GGT> <VirtualHost>
GGT> ProxyPass / http://localhost:8080/mydomain/
GGT> ProxyPassReverse / http://localhost:8080/mydomain/
GGT> ProxyErrorOverride On
GGT> </VirtualHost>

GGT> Request input module in cocoon says that requested url starts with
GGT> http://localhost:8080 not What to do?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message