Hi,
Is there a simple way to do the following:
1) All "http" based requests to website www.abc.com go to my Apache2 server
regardless of the virtual site
2) All "https" based requests to website www.abc.com are proxied to a private
tomcat server via mod_proxy
Only option that I think may work is to do this in sites-enabled/ssl
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmas...@localhost
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
#=======
ProxyPass / balancer://backtcserver/
......snip.....
and this in httpd.conf
<Proxy balancer://backtcserver>
BalancerMember ajp://localhost:8009/
</Proxy>
and this in sites-enabled/000-default
<VirtualHost *:80>
ServerAdmin webmas...@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
This way https uses the proxy server and http does not
Thanks
Des
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
" from the digest: [email protected]
For additional commands, e-mail: [email protected]