FIXED! I looked at /etc/apache2/ports.conf, and the "Listen 443" directives are wrapped in a conditional that requires the ssl module.
So I ran sudo a2enmod ssl ...and then sudo systemctl restart apache2 Now all my sites are back. Thank you! On Fri, 15 Sept 2023 at 09:56, William Witteman <[email protected]> wrote: > Thank for your the hint! > > I think that the HTTPS redirect isn't working. > > The curl --head $site gives me this: > HTTP/1.1 301 Moved Permanently > > But it doesn't connect to port 443. > > sudo netstat -ntupl | grep :443 doesn't show anything. Perhaps I am > missing a Listen 443 directive? > > Similarly, if I hit the bare IP address I get the default virtual host, > and if I "lynx localhost" I see the same, so Apache and PHP are definitely > in play. > > > On Fri, 15 Sept 2023 at 09:04, BCLUG via talk <[email protected]> wrote: > >> William Witteman via talk wrote on 2023-09-15 05:47: >> >> > The websites are a mix of static pages and Wordpress blogs - all >> Virtual >> > Hosts. >> > >> > None of them resolve, and I am getting "unable to connect" messages - >> > but nothing is showing up in the /var/log/apache2/error.log or the >> > access.log. >> >> Do the vhosts have separate log files? If so, anything in those >> indicating an issue? >> >> >> > Apache is running - I can see the restarts in the error log - but >> > nothing is happening when I try to hit a page. >> >> Anything revealed by running >> >> `curl --head $site` >> `curl --head --location $site` >> >> ? >> >> >> > Does this ring any bells for anyone? Is there a new configuration >> > wrinkle that I didn't adapt to? >> >> I don't run Debian, it doesn't ring any bells, but I thought I'd throw a >> couple ideas out there to see if it helps at all. >> >> >> rb >> >> --- >> Post to this mailing list [email protected] >> Unsubscribe from this mailing list >> https://gtalug.org/mailman/listinfo/talk >> >
--- Post to this mailing list [email protected] Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
