Hi
could anybody used ProxyPass before give me a hint about ProxyPass and the Virtual Host
here is my conf files
=====================================================
part of httpd.conf
===================
ProxyPass /anything balancer://mycluster nofailover=Off lbmethod=byrequests
<Proxy balancer://mycluster>
BalancerMember
http://apache1/app
BalancerMember
http://apache2/app
Order Deny,Allow
Deny from none
Allow from all
</Proxy>
===================================================
part of conf/extra/httpd-ssl.conf
================================
NameVirtualHost *:443
<VirtualHost _default_:443>
SSLProxyEngine on
#General setup for the virtual host
DocumentRoot "/usr/apache-ssl/htdocs"
ServerAdmin root@balancer
ErrorLog /usr/apache-ssl/logs/error_log
TransferLog /usr/apache-ssl/logs/access_log
ProxyPass /anything balancer://mycluster nofailover=Off lbmethod=byrequests
<Proxy balancer://mycluster>
BalancerMember
https://apache1/app
BalancerMember
https://apache2/app
Order Deny,Allow
Deny from none
Allow from all
</Proxy>
#Alot of SSL Engine Options and so on:
</VirtualHost>
========================================
My problem is
when I hit
http://balancer/anything or
httpS://balancer/anything
it always give me whatever in the main conf file httpd.conf
I assume that it suppose to switch when I ask for HTTPS
==========================================================
it semes to me like ProxyPass in httpd.conf Overrides the
one in conf/extra/httpd-ssl.conf
or there is something missing in these configurations?
=============
Any suggestions?
Thanks