the "reload" failed because it wasn't running - hence couldn't reload. The restart worked which shows the problem is in the default-ssl.conf
what is at line 134 ? if it's around the
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
then comment out all those lines ( with a # at the start of the line) and try the a2ensite default-ssl again followed by an apache restart .... and see what happens. If it's not around those lines, then what is at line 134 ?
Yeah, the config file is moved because you executed sudo a2dissite default-ssl… It’s now somewhere in /sites-available/ or something? I’m not very familiar with Debian based Apache setups, but it’s around there somewhere… Just not in /sites-enabled/…
if you edit the default-ssl.conf file … at the beginning, there is a line ( around line 2?) that’s something like default: 443 ( within angle brackets.
At the end is /VirtualHost ( again within angled brackets )
Check that the oe at the beginning is “VirtualHost default: 443” (within the angled brackets). The angled brackets won’t paste here nicely.
I’m not sure what you mean by angled brackets but if you mean the closing tag (on my keyboard its next to the M)
well, it was missing in the first line, I’ve put it back
configtest failed. Not doing anything. … (warning).
Jan 15 23:22:58 katbulk apache2[3815]: Output of config test was:
Jan 15 23:22:58 katbulk apache2[3815]: [Fri Jan 15 23:22:58.683175 2016] [core:error] [pid 3824] (EAI 2)Name or service not $
Jan 15 23:22:58 katbulk apache2[3815]: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/default-ssl.conf:
Jan 15 23:22:58 katbulk apache2[3815]: Missing address for VirtualHost
Jan 15 23:22:58 katbulk apache2[3815]: Action ‘configtest’ failed.
Jan 15 23:22:58 katbulk apache2[3815]: The Apache error log may have more information.
So I looked at the error.log but no entries were added in that time
[Fri Jan 15 22:44:50.018052 2016] [core:notice] [pid 3530] AH00094: Command line: ‘/usr/sbin/apache2’
[Sat Jan 16 01:25:42.179031 2016] [mpm_prefork:notice] [pid 3530] AH00169: caught SIGTERM, shutting down
And ofcourse you’ve already checked line 2 of /etc/apache2/sites-enabled/default-ssl.conf I assume? What could be wrong with the VirtualHost at that line?
Secondly, I assume you’ve read all about Apaches <VirtualHost> section and what parameters are mandatory?
I don’t know if that’s the whole line, but it doesn’t look like a normal Apache directive/block…
This forum parses HTML codes, so perhaps you can embed the whole line in `…` (backticks, most of the time left of the “1” key on your keyboard)?
And perhaps a little bit of context? A few lines above and below.
Ah, I saw the .conf file in the 11th post in this thread. Probably, the line is <default: 443> (based on that post… Which is strange, because then you’ll be missing the VirtualHost part.) You could try <VirtualHost *:443>. In essence the same as ‘default’, but the Apache docs say _default_ is an alias for *. I didn’t see any underscores in your line, but if you just use a *, it’ll be all the same and work nicely.) I assume you won’t do any IP-based virtual hosting, only name-based?