There are several lines in places that read <IfModule mod_ssl.c> There is no file on my hard disk named "mod_ssl.c". There is, however, a file named /usr/lib/apache2/modules/mod_ssl.so Is there some magic connection between "mod_ssl.c" and "mod_ssl.so"? Like was the ssl module written in C? On 04/03/2014 09:46 PM, Yehuda Katz
wrote:
Then as instructed by a2enmod I ran the command service apache2 restart I normally use '/etc/init.d/apache2 restart' but I did it with 'service' this time. After some editing for fixing up things like DocumentRoot (changed to my own) I got it to restart with no errors. There is no file extension on "/etc/apache2/sites-available/default-ssl", I assume that file is correct. It starts with these two lines: <IfModule mod_ssl.c> <VirtualHost _default_:443> The above has they keyword "_default_" in the VirtualHost line. All of my existing http config files read like this: <VirtualHost *:80> There is no Virtual Host name in that line, so presumably they all share the same virtual host, yes? Do I need multiple virtual hosts for https, or will one virtual host be OK for all the sites? Wonderful! I rebooted the computer just to make 100% sure of my restarting EVERYTHING, and then ran 'nmap localhost' and it finally showed me this line: 443/tcp open https Great! Now somebody is listening. I sent Firefox to "https://localhost/" and after a bunch of crabbing about the certificate I got to see the same site. So now I have to figure out how to make a certificate (FYI I am an anarchist). I went to one of my sites and followed a link and discovered that it switched back to "http://" because that is what is in the HTML. Gotta fix that. "buggy browsers" as in Internet Explorer, right? These are intra-company web sites, and we simply tell people not to use IE. Thank you very much Yehuda. I think I am launched and can follow on for a while by myself.
|