How to use SSL / Non-SSL with same domain
my configuration example ( hiawatha )
VirtualHost {
Hostname = example.org, www.example.org
WebsiteRoot = /data/www/example
StartFile = index.php, index.html
ReverseProxy ^/.* http://192.168.0.102:7080/
ReverseProxy ^/.* https://192.168.0.100:7443/
SSLcertFile = /home/user/etc/ssl/example.org.pem
}
the problem is right now it's partial work ( it will show ssl cert but will point to apache backend at port 7080 instead of 7443 )
my structure
/home/user/public_html < - apache port 7080
/home/user/private_html <- apache port 7443
Hiawatha version: 9.2
Operating System: FreeBSD 8.3