I have upgraded from an earlier Apache2 to the latest Apache 2.4. My previous setup had the following alias in default.conf file in the sites-available directory:
Alias /weewx /home/weewx/public_html <Directory "/home/weewx/public_html"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
In the new Apache 2.4 setup I have added the following to 000-default.conf in sites-available:
Alias /weewx /home/weewx/public_html <Directory /home/weewx/public_html> Options Indexes FollowSymLinks MultiViews AllowOverride All </Directory>
But now I get a 403 error - "you don't have permission to access /weewx on this server". I have tried moving my new Alias and Directory entry into the alias.conf file in the mods-available directory, but that still give the 404 error.
Is there something wrong with my Directory entry, or are the Alias and Directory in the wrong place?