Hi Owen,
Before getting your mail, I was tinkering with apache.conf. If i put in
summary.freebsdsystems.com it comes up with something that looks more like
a ftp site.

The only place that summary.freebsdsytems is, is at the end of
apache.conf. I really don't know how you are supposed to set up the part
where it looks as follows:

##
##  SSL Global Context
##
##  All SSL configuration in this context applies both to
##  the main server and all SSL-enabled virtual hosts.
##

#
#   Some MIME-types for downloading Certificates and CRLs
#
<IfDefine SSL>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl
</IfDefine>

and then it goes on to :

##
## SSL Virtual Host Context
##

#<VirtualHost _default_:443>
<VirtualHost 24.69.168.6:443>
#  General setup for the virtual host
#DocumentRoot "/usr/local/share/apache/htdocs"
#ServerName new.host.name
#ServerAdmin [EMAIL PROTECTED]
#ErrorLog /var/log/apache_error_log
#TransferLog /var/log/apache_access_log

DocumentRoot /www/data/secure
ServerName secure.freebsdsystems.com
ServerAdmin [EMAIL PROTECTED]
ErrorLog /var/log/www/secure-ssl_error_log
TransferLog /var/log/www/secure-ssl_access_log

but thats not were summary is...its at the bottom..

</VirtualHost>
<VirtualHost summary.freebsdsystems.com:443>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /www/data/freebsd/summary
ServerName summary.FreeBSDsystems.COM
SSLEngine ON
SSLCertificateFile /usr/local/etc/apache/certs/server.crt
SSLCertificateKeyFile /usr/local/etc/apache/certs/server.key
ErrorLog /var/log/www/summary-error_log
TransferLog /var/log/www/summary-access_log
</VirtualHost>
</IfDefine>

https works fine. But why when you go (even by mistake) to
http://summary.freebsdsystems.com it looks like an ftp site. go you'll
see.

Thanks Owen, for your help :-)

Regards,

Lanny
On Fri, 17 Nov 2000, Owen Boyle in the last wild and more than exciting...:

>Lanny Baron wrote:
>> Can someone tell me how to get someone going to
>> http://summary.freebsdsystems.com goes  to https instead. Right now it
>> opens a directory of all things in /www/data
>
>Typing "http" in a browser causes it to make an HTTP request on port 80.
>Typing "https" makes it go for an SSL connection on port 443. These are
>two completely different actions. Luckily, since they are both handled
>by the same Apache server, you can Redirect one to the other. Try
>something like:
>
>Listen 80
><VirtualHost summary.freebsdsystems.com:80>
>  Redirect / https://summary.freebsdsystems.com
></VirtualHost>
>
>Listen 443
><VirtualHost summary.freebsdsystems.com:443>
>... definition of your SSL host....
></VirtualHost>
>
>Then any HTTP request on port 80 will bounce immediately to the SSL
>host. 
>
>I don't know why you are getting /www/data. Do you have a VirtualHost
>already defined for port 80? (if you are using a default httpd.conf you
>probably do have one...). The usual default HTTP directory is
>/usr/local/apache/htdocs.
>
>Best regards,
>
>Owen Boyle.
>______________________________________________________________________
>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