- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Virtual Host and ssl
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:25 PM
07-10-2007 08:25 PM
I've added ssl to my site, and everythink works fine if I go to https:// but wont work by http:// enymore :(
Here's my vhost.conf configuration:
ServerName mysite.com
ServerAlias www.mysite.com
ServerAdmin webmaster@mysite.com
DocumentRoot /home/default/mysite.com/user/htdocs
ErrorLog /home/default/mysite.com/user/logfiles/error_log
TransferLog /home/default/mysite.com/user/logfiles/access_log
php_admin_value open_basedir /tmp:/home/default/mysite.com SuexecUserGroup mysite mydomain
ScriptAlias /cgi-bin/ /home/default/mysite.com/user/htdocs/cgi-bin/
AddHandler server-parsed .shtml
AddType text/html .shtml
Options +Includes
# Begin SSL Config
SSLEngine on
SSLCertificateFile /home/default/mysite.com/user/cert/ssl.cert
SSLCertificateKeyFile /home/default/mysite.com/user/cert/ssl.key
# End SSL Config
# Begin user directives <--
# --> End user directives
Does anyone know why the site is not working if I'll put http://mysite.com ?
Cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 09:19 PM
07-10-2007 09:19 PM
Solutionssl is not compatible with having more than one named virtual host.
To have a proper ssl certificate for a website, due to limitations in the design of openssl requires a separate IP address.
Myself and many others have experiemented with this over the years and named virtual hosts don't work. Allocating an IP address does.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 09:39 PM
07-10-2007 09:39 PM
Re: Virtual Host and ssl
The begining of this file is looking like that - so the IP address is the same - something is forcing it to serve the page on port 443 and disabling 80.
And that is actual problem.
The IP's are obviously exemples - but they are exactly the same.
So my question is what prevents the http:// on port 80 to be alive ?
When I go to http:// I have blank page - I'm not getting error 404.
Any Ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 12:24 AM
07-11-2007 12:24 AM
Re: Virtual Host and ssl
Depending on httpd.conf settings, lack of an index.htm/index.html file may be preventing access.
I'd also have to ssh/telnet sessions on the server and do this.
Session 1:
tail -f /var/log/httpd/access_log
Session 2:
tail -f /var/log/httpd/error_log
I'd add a third session for the ssl log if nothing interesting is revealed here.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 03:46 AM
07-11-2007 03:46 AM
Re: Virtual Host and ssl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2007 09:05 PM
07-11-2007 09:05 PM