Hello, I have a problem,

Specifically, my mapserver can only read files from the /var/www folder. When I 
try to read a file from any other folder, I receive the following error:


msDrawRasterLayerLow(): Unable to access file. Corrupt, empty, or missing file 
'/home/ubuntu/PycharmProjects/flask/results/qwert/PL2_08-DEM.tif' for layer 
'Result from 2023_08_18__09_52_33'. 
/home/ubuntu/PycharmProjects/flask/results/qwert/PL2_08-DEM.tif: Permission 
denied.


Attempts to add to apache2.conf

<Directory /home/ubuntu/PycharmProjects/flask/results/qwert/>
      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted
</Directory>


and changing the group owner to www-data doesn't make any difference and 
setting sudo chmod 777 doesn't work either.


Of course, I restart Apache :)

Any ideas, because I'm already out of them, haha :)

Best,

Marcin

_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to