In /etc/apache2/apache2.conf
Options FollowSymLinks
Options Indexes FollowSymLinks
Might not be the exact one(s), but FollowSymLinks is the thing to set.
Chris
On Saturday, April 27, 2024 at 3:55:01 AM UTC-6 Remy Lavabre wrote:
> Yes thank you it works Vince!
> I'v
Yes thank you it works Vince!
I've been racking my brains over these Apache directories for a while and I
admit I haven't thought about reversing my symbolic links, idiot that I
am...! :-(
Perhaps an even simpler solution would have been to put the version 4 path
back in weewx.conf...?
However
I do it in the opposite direction. The /var/www/html/weewx path is a
directory. The /home//weewx-data/public_html path is a symlink 'to'
the webserver directory.
For a pip installation:
sudo mkdir /var/www/html/weewx
sudo chown ${WEEWXUSER}:${WEEWXUSER} /var/www/html/weewx
ln -s /var/www/html
1/ if I try xxx.xxx.xxx.xxx/index.html -> Work fine, I've got the Apache2
Debian Default Page (which is in /var/www/html/index.html).
2/ if i try xxx.xxx.xxx.xxx/weewx/index.html -> Forbidden - You don't have
permission to access this resource. (with my symbolic link)
I've tried :
A/ sudo chown
Looks like a rights issue with Apache. Find the apache.conf file and you
probably need to enable access to the right directories.
On Fri, Apr 26, 2024 at 6:26 AM Remy Lavabre wrote:
> Hello,
>
> Good morning,
> I didn't find the answer to my problem in the various discussions on the
> WeeWX foru