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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can someone check my http.conf ??

Status
Not open for further replies.

atrixnet

Programmer
Oct 15, 2003
3
US
Can someone help me find out why ssl ( won't work on my server? I can't figure out what to do. Please, any suggestions are appreciated. I can't find any further help in the docs.

Grab configuration files (yes, there's includes) at
Thank you all!
Tommy Butler
icq: 163915821
yahoo: tommy_the_butler
msn: atrixnet AT hotmail.com
aol: tommy the butler
 
I'd start all over if I were you. Some of the stuff I saw scared the daylights outa me. First of all, you can't use name based addressing with ssl. Each vhost must have its own ip. If you only have one public ip, you can use virtual ip addressing (sometimes called ip aliasing or multi-homing). This is done by creating virtual interfaces i.e. eth0:1, eth0:2, eth0:3 and so on. You would assign a private ip to each of those such as 192.168.0.10, 192.168.0.20 etc. You may want to do a google search on how to do this. Apache's config file httpd.conf already has a directive called "Include" which adds anything in that directory to the configuration. One that you will see is ssl.conf. Here is where you create your ssl vhosts.

Code:
<VirtualHost 192.168.0.10:443>

put all your directives in here
making sure to use the ServerName directive

</VirtualHost>

Do this for each ssl vhost. I'm not sure but I think apache will complain if you try to use both ip and name based addressing.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top