i finally got my server to work with ssl (apache1.3 and mod-ssl), my problem now is that i can no longer use the normal web (
http://ipaddr) to access the same page. only
https://ipaddr works.
what i ultimately want to do is redirect it http to https.
here's some of my httpd.conf file:
Code:
Port 80
...
ServerName localhost
...
DocumentRoot /var/www/sql-ledger
...
<Directory /var/www/sql-ledger>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
...
<VirtualHost *:80>
</VirtualHost>
<VirtualHost *:443>
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateFile /etc/apache/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache/ssl.key/server.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</IfModule>
</VirtualHost>
when i try the ipaddr, i get connection refused for http and it goes to the right site for https (p.s., i do have port 80 forwarded to my box
)
thanks in advance