Yes, /var/www/
question was if folder below /var/www/Gallery
exists.
Can you share
ls -la /var/www/Gallery
root@DietPi:~# ls -la /var/www/Gallery
total 56
drwxr-xr-x 8 www-data www-data 4096 Feb 18 13:14 .
drwxr-xr-x 5 root root 4096 Feb 19 21:14 ..
-rw-r--r-- 1 root root 4615 Sep 11 07:16 .htaccess
drwxr-xr-x 3 www-data www-data 4096 Feb 18 13:11 _cache
drwxr-xr-x 9 www-data www-data 4096 Feb 18 13:11 app
drwxr-xr-x 2 www-data www-data 4096 Feb 18 13:18 config
drwxr-xr-x 7 www-data www-data 4096 Feb 18 13:18 content
drwxr-xr-x 3 www-data www-data 4096 Feb 18 13:12 files
-rw-r--r-- 1 www-data www-data 692 Sep 11 07:16 index.php
drwxr-xr-x 7 www-data www-data 4096 Feb 18 13:11 panel
-rw-r--r-- 1 www-data www-data 1771 Sep 11 07:16 readme.txt
-rw-r--r-- 1 www-data www-data 99 Sep 11 07:16 robots.txt
-rw-r--r-- 1 www-data www-data 2668 Sep 11 07:16 web.config
Ah, ok
as you can see, there is no folder Gallery/galleries/
. Therefore you are getting the http 404 Not Found
message.
Yes , you are correct. But that does not solve the problem. On another RPi with PI OS I have also no subfolder “galleries” and it works over there.
Everything important is stored in the folders /config and /contents
I will dig a bit deeper tomo into it.
Tks for yr time and help
compare web server of both systems. There seems to be something different. It’s all about the web server. If they are same, using same configs, it should work.
Hi,
I saw that you installed it also on a test system. Did it actually work ? I mean the frontpage with the sample pictures ?
I changed my testrig to nginx as well , but the reault is the same as before when I try to see the sample pic’s
Since nginx is new to me it might be even my mistake in the nginx.conf
Tks
I had it installed but immediately removed it after testing.
I just checked, that the installation had finished and did no further testing.
I have also no experience with nginx, I use lighttpd on my productive system.sorry.
Hi,
finally I found a solution. Probably not the best, but it works.
Added these lines to the 000-default.conf under sites-enabled
<Directory /var/www/Gallery>
AllowOverride All
And now it works as desired
Tks
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.