[Discuss] Help with Apache & SSL - can't fix 403 errors

Dan Ritter dsr at randomstring.org
Wed Dec 9 17:11:29 EST 2020


Daniel Barrett wrote: 
> 
> I've been trying to set up an HTTPS website on localhost (Ubuntu
> 18.04), but no matter what I do, I get a 403 "Access Denied" error
> when I hit the site. I've tried all the solutions I can find
> documented on the web:
> 
> - The site is served perfectly over http (i.e., http://localhost)
> - Web root dir (/var/www/html) has appropriate permissions (rwxr-xr-x)
> - The SSL virtual host is enabled (a2enable)
> - Apache SSL module is installed & enabled (a2enmod)
> - SSL key & cert files exist in their correct locations
> - Firewall permits port 443 (I even turned the firewall off to be sure)
> - Apache conf file mirrors the simplest examples I've found:
> 
> <IfModule mod_ssl.c>
>    <VirtualHost *:443>
>       ServerAdmin webmaster at localhost

ServerName www.server.com

>       DocumentRoot /var/www/html
>       ErrorLog ${APACHE_LOG_DIR}/error.log

-dsr-


More information about the Discuss mailing list