RE: [users@httpd] SSL Virtual Host Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't know anything about the <snip> directive. Can you let me know what that is? Also I am not sure if I understand your problem. Try this:

<VirtualHost 1.1.1.1>
    ServerAdmin me@xxxxxxxxx
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/cvpcms/platform"
    ServerName host1.domain.net
    ErrorLog logs/host1.domain.net-error_log
    CustomLog logs/host1.domain.net-access_log common
</VirtualHost>

Listen 443
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot "c:/program files/Apache Group/Apache2/htdocs/cvpcms/platform"
    ServerName host1.domain.net
    ServerAdmin me@xxxxxxxxxx
    ErrorLog logs/host1.domain.net-error_ssl.log
    TransferLog logs/host1.domain.net-access_ssl.log
</VirtualHost>

Please explain your problem.


From: "Gary Wilson" <gary.wilson@xxxxxxxxx>
Reply-To: users@xxxxxxxxxxxxxxxx
To: <users@xxxxxxxxxxxxxxxx>
Subject: [users@httpd] SSL Virtual Host Problem
Date: Sat, 18 Feb 2006 13:24:03 -0000

Hi

Any help will be appreciated before I crack my skull banging my head against the wall!

Running Apache 2.0.55 (Win32) and OpenSSL 0.9.8.a, can get to server and serve content on only https or http, but not both. Below config allows http but not https

Any ideas.... have tried so many different configs now I have no idea where to turn, have read loads and loads of pages and tried nth number of variations!!!

http.conf  (server name replaced with host1 and ip with 1.1.1.1)
<snip>
<VirtualHost 1.1.1.1>
    ServerAdmin me@xxxxxxxxx
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/cvpcms/platform"
    ServerName host1.domain.net
SSLEngine On
SSLCertificateFile "c:/program files/apache group/apache2/conf/ssl/ssl_thing.cert" SSLCertificateKeyFile "c:/program files/apache group/apache2/conf/ssl/ssl_thing.key"
    ErrorLog logs/host1.domain.net-error_log
    CustomLog logs/host1.domain.net-access_log common
</VirtualHost>

ssl.conf  (server name replaced with host1)
<snip>
Listen 443
<VirtualHost _default_:443>
#  General setup for the virtual host
DocumentRoot "c:/program files/Apache Group/Apache2/htdocs/cvpcms/platform"
ServerName host1.domain.net:443
ServerAdmin me@xxxxxxxxxx
ErrorLog logs/host1.domain.net-error_ssl.log
TransferLog logs/host1.domain..net-access_ssl.log
#</VirtualHost>
#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on

Regards
Gary



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux