Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues adding vhost for local connection

Status
Not open for further replies.

qipman

Technical User
Jan 15, 2008
1
US
I have an Apache set up in a reverse proxy configuration, and am not able to set up a vhost for a local connection. We are trying to use mod_status using this vhost declaration. Upon configuring Apache no longer operates:

<VirtualHost *:443>
ServerAdmin test@hostname.domain.com
DocumentRoot /var/ ServerName ap1.sub.domain.com
</VirtualHost>

Additionally we need to run a vhost for another server (ap-tra2) and reverse that to 8001 and a section for ap-tra2/tw and reverse that to 8501. can that be done? If we implement a /tw the default behavior is not affected.
 

I assume (because of the *) that you are using named based virtual hosting. Named based virtual hosting and SSL cannot work together because of the SSL handshake (the server must know the intended header to match to ServerMame, but that can't be passed because the SSL stream isn't set up yet.)

You can use IP based Virtual Hosting with SSL.

eugene
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top