LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-11-2006, 10:25 AM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Apache + Mod_proxy "ProxyPass"


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


 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM


All times are GMT -5. The time now is 10:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration