You CAN'T declare a VirtualHost on port 443 (_default_:443) and then immediately tell it that the ServerName is port 80 (ServerName www.mydomain.com:80).


This is no longer a Tomcat issue. My suggestion: take it to an Apache list.

John

[EMAIL PROTECTED] wrote:

Hi.
I compiled mod_ssl into my apache2 and got openssl to generate
server.key into .../conf/server.key and server.crt into
.../conf/server.crt

Then I modified httpd.conf
<IfModule mod_ssl.c>
   Include /path/to/ssl.conf
</IfModule>
Also, I commented out all the explicitly named virtual hosts in
<VirtualHost blabla> ... </VirtualHost> because I expect troubles there.

In ssl.conf, I modified the following lines so they have the same
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
...
SSLCertificateFile /path/to/conf/ssl.crt/server.crt
SSLCertificateFile /path/to/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 some kind souls tell me wha I have done wrong now. I didn't use
RedHat's default directories in /etc/httpd/conf, but that's hardly a mea
culpa.

Arrgh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to