Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-05-2003, 03:09 AM   #1
Registered: Apr 2003
Location: Singapore
Distribution: Slackware32/64, Ubuntu, Fedora, RHEL
Posts: 138

Rep: Reputation: 15
How to have SSL on two different pages/sites?

I have a problem getting a few domains/pages to use SSL/https.
Currently I have webmail and crm program that I wanted to use SSL/https.

Below are my configuration and findings on my own troubleshooting.
Hope some one will be able to help me.

The SSL cert, key, etc has been made.

my httpd.conf file
<Location /var/www/htdocs/crm/>

<Location /var/www/htdocs/webmail/src/login.php>

my mod_ssl.conf
<VirtualHost _default_:443>
# General setup for the virtual host
DocumentRoot "/var/www/htdocs/webmail"
[other lines deleted - for easier reading]

DocumentRoot "/var/www/htdocs/crm"
[other lines deleted - for easier reading]

Settings 1 - with the above
- crm can be access via https
- webmail cannot be access via https

Settings 2 - remark crm in httpd.conf
- crm can be access via https
- webmail cannot be access via https

Settings 3 - remark crm in mod_ssl.conf
- crm cannot be access via https
- webmail can be access via https

- where should I put the configuration? httpd.conf or mod_ssl.conf?
- how can I make both crm and webmail to use https?

I am using apache 1.3.27 running on slackware 9.0 kernel 2.4.20
Old 08-05-2003, 08:53 AM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
In order to run two different sites on the same port, you must have two IP addresses on the system. The problem lies in the fact that the server does not know which certificate to present because the session is encrypted. This does not happen when two IP addresses are used because the server can determine which certificate to present based on the IP address receiving the request. You either got to add another IP address or change the port on one of the applications.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: ssl only for specific pages wwnexc Linux - Software 2 11-23-2005 08:29 PM
Suse 9.2 - Firefox - SSL (browser doesn't load secure pages) jclement30 SUSE / openSUSE 7 02-15-2005 01:49 AM
how to count the fault pages and the mapped pages riquelme Programming 0 05-20-2004 10:16 PM
Pls check my iptables to see if i can login into hotmail and other SSL sites! debloxie Linux - Networking 1 01-26-2004 09:33 AM
Apache SSL started, pages won't display Manuel-H Linux - General 1 04-16-2003 11:04 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:41 AM.

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