Pages: 1
Hello/Hi/Greetings,
Hope someone knows the answer to this.
I have 3 installs of piwigo, all using different domain names, but the same host.
1 of them has the following problem:
When browing photos in piwigo, if I click on "Home" I get the Error 403 you do not have permission to access the folder that piwigo is installed into.
Which is https://www.bsears.co.uk/BSEARSpiwigo/
if I then add index.php to the end of the URL in the browser
which is then
https://www.bsears.co.uk/BSEARSpiwigo/index.php, all works fine.
The other 2 installs do not show this behaviour, and as mentioned are on the same host, same hosting account pointing at the same MySQL server, just different DBs.
Piwigo URL: https://www.bsears.co.uk/BSEARSpiwigo/index.php
Click on the "Home" link at the top of page and you will see the problem.
Environment
Piwigo 13.3.0
MySQL Version 5.6.32
Perl Version 5.8.8
PHP Version 7.3
Offline
For the failing host you don't have index.php in the list of DirectoryIndex in /etc/apache2/httpd.conf (or whatever config file). Additionally listing indices is off with Options -Indexes (which is good), hence the 403.
Offline
Sorry, I do not understand the answer.
Are you saying that index.php needs to bein etc/apache2/httpd.conf?
2 of these were both new installs today, one is working fine, the other has this error?
Could it be a permissions issue?
I may just go back and reinstall.
Offline
In /etc/apache2/httpd.conf there's a directive DirectoryIndex that lists files that are tried in order if just a directory is given as URI endpoint. It looks something like
DirectoryIndex index.html default.html index.htm
but does not contain index.php. Add/append it. (if that's the failure case).
But as you mentioned "on the same host, same hosting account" it may be for a different DocumentRoot, or you have some .htaccess file that restricts things in only one Piwigo installation.
Offline
.htaccess
fixed it, no idea why the other 2 installs work fine.
Offline
Pages: 1