Enrique,

Perhaps its because you're using 'localhost', which makes the server bind to
127.0.0.1, which is not accessible outside your machine.

Try using <Virtualhost _default_:443> instead.  Btw, the _'s are to tell
Apache it's a magic word, not to be snitty, so keep them in. ;)


                                     -pete

-----Original Message-----
From: Enrique Mochales Estany
To: modssl-users
Sent: 9/27/00 7:22 AM
Subject: connection to vhost from the internet

Hi, 
    I'm running a normal host (port 80) and a vhost for ssl. Everything
works fine when accessed locally -- http://localhost <http://localhost>
and https://localhost/secure <https://localhost/secure> -- but when I
access from the internet the browser gets stuck waiting for a reply from
the vhost. 

    The connection is through an ISP, so they give me a temporary
address x.y.z.u each time I connect, and then I test the web pages using
http://x.y.z.u <http://x.y.z.u>  and https://x.y.z.u/secure
<https://x.y.z.u/secure> . With http there's no problem, but I can't
access to the secure pages with https://x.y.z.u/secure
<https://x.y.z.u/secure> . 


    I defined the vhost as follows: 


<VirtualHost localhost:443> 
port 443 
ServerAdmin root@localhost 
DocumentRoot /home/www/htdocs/secure 
ServerName localhost 
ErrorLog /usr/local/apache/var/log/error_log 
TransferLog /usr/local/apache/var/log/access_log 
SSLEngine on 
SSLCACertificatePath /usr/local/apache/apache_1.3.3/conf/ssl.crt 
SSLCertificateKeyFile
/usr/local/apache/apache_1.3.3/conf/ssl.key/server.key 
SSLCertificateFile
/usr/local/apache/apache_1.3.3/conf/ssl.crt/server.crt 
#SSLCACertificateFile
/usr/local/apache/apache_1.3.3/conf/ssl.crt/ca-bundle-client.crt 
SSLVerifyClient none 
SSLVerifyDepth 10 
SSLLog /usr/local/apache/var/log/ssl_engine_log 
SSLlogDevel debug 
</VirtualHost> 


Perhaps am I missing something important in the configuration of the
vhost? 
Why can I access the secure pages only with https://localhost/secure
<https://localhost/secure>  and not https://x.y.z.u/secure
<https://x.y.z.u/secure> ? 


TIA --E. 
  
 

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support
Mailing List [EMAIL PROTECTED] Automated List Manager
[EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to