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]