tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Aguado <andriu....@gmail.com>
Subject Apache reverse proxy issue
Date Thu, 16 Feb 2012 11:30:13 GMT
Hi, although this space is for tomcat cuestion, i'd like to expose my
problem with an apache 2.2 server over win2k8, because i'm going
crazy, and if anyone could help me it'll be very appreciated.

Well, I've an apache 2.2 server over win2k8, and i want to configure
reverse proxy on it to send request to Websphere server

So, my httpd.conf file is written like this:

NameVirtualHost *:80
<VirtualHost *:80>
	DocumentRoot "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\htdocs\my_example"
	ServerName www.my_example.es
	ServerRoot "C:\Program Files (x86)\Apache Software Foundation\Apache2.2"
	DirectoryIndex index.html
	ErrorLog "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\logs\error.log"
	TransferLog "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\logs\access.log"
	ProxyRequests Off
	<IfModule proxy_module>
		<Proxy *>
			Order deny,allow
			Allow from all
		</Proxy>
	</IfModule>
	ProxyPreserveHost On
	ProxyPass / https://was_server/
	ProxyPassReverse / https://was_server/
</VirtualHost>

Proxy modules enabled are mod_proxy.so and mod_proxy_http.so
But this configuration is not working.
I have not yet activated https on apache server, and want to send
http://my_example:80 to https://was_server, but and 500 internal
server error appears when i try to connect to my_example, and this
line seems to be written in error.log
[warn] proxy: No protocol handler was valid for the URL /. If you are
using a DSO version of mod_proxy, make sure the proxy submodules are
included in the configuration using LoadModule.

Could anyone help me please?

Thank you very much
Andres

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message