johnelle
July 6th, 2008, 12:12 PM
I am trying to switch from Fedora to Ubuntu and I am struggling with a piece of Ubuntu's Apache setup. I want to be able to browse the default doc root with with either http:// or https:// because of a Verizon block on port 80 inbound.
This works by default in the Fedora config but when I add the secure setup lines to the Ubuntu config (from the official directions):
SSLEngine on
SSLOptions +StrictRequire
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
It forces you to use https:// by putting up a "bad request" error for http:// access. Of course turning ssl off allows normal access to work but https:// gets an error.
Do I need a 2nd virtual host overlapping the default? The Fedora config has no virtual host...can I just get rid of it in the Ubuntu config?
John
This works by default in the Fedora config but when I add the secure setup lines to the Ubuntu config (from the official directions):
SSLEngine on
SSLOptions +StrictRequire
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
It forces you to use https:// by putting up a "bad request" error for http:// access. Of course turning ssl off allows normal access to work but https:// gets an error.
Do I need a 2nd virtual host overlapping the default? The Fedora config has no virtual host...can I just get rid of it in the Ubuntu config?
John