httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jiang_Ch...@trendmicro.com.cn>
Subject [users@httpd] 答复: [users@httpd] HOWTO : configuring httpd.conf for OpenSSL ?
Date Tue, 29 Jul 2003 07:48:53 GMT
Mixed port-based /named-based or IP-based  virtual host is not supported by ssl.
You must comments other type virual host in httpd.conf
#NameVirtualHost .....

-----原始邮件-----
发件人: Arthur Chan [mailto:achana@saysit.com.hk]
发送时间: 2003年7月29日 11:53
收件人: users@httpd.apache.org
主题: [users@httpd] HOWTO : configuring httpd.conf for OpenSSL ?


Hi.
I compiled mod_ssl into Apache2 and got openssl to create server.key into
.../conf/server.key and server.crt into .../conf/server.crt
Then I modified httpd.conf like this :
<IfModule mod_ssl.c>
   Include /path/to/html
</IfModule>
Also, I commented out the explicitly defined virtual hosts inside
<VirtualHost v.hostname.com>
</VirtualHost>
because I expect troubles there.

In ssl.conf, I modified the following lines so that they have the samew
parameter values as in httpd.conf
<VirtualHost _default_:443>
  DocumentRoot "/path/to/html"
  ServerName www.my.domain.com:80  # in httpd.conf, I used the BIOS name
e.g. ServerName BIOSNAME:80
  ...
  SSLEngine on
  ...
  SSLCertificate /path/to/conf/ssl.crt/server.crt
  SSLCertificate /path/tp/conf/ssl.key/server.key
  ...
When I start apache again with
# apachectl startssl
I got the following messages
[error] VirtualHost -default_:443 -- mixing * port and non-* ports with a
NameVirtualHost address is not supported: proceeding with unidentified
results.
Apache/2.0.40 mod_ssl/2.0.40 (Pass Phrase Dialog)
...
Can someone please point out where I might have gone wrong ?
I didn't use RedHat's default directories in /etc/httpd.conf .




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Mime
View raw message