I have a 3.0.9 install on debian
Operating system: Linux 3.2.0-4-amd64
Apache: Apache/2.2.22
PHP: 5.4.4-14+deb7u3
MySQL: 5.5.31-0+wheezy1
Graphics toolkit: imagemagick
This was a gallery2 install that has been upgraded and moved to a new server. The gallery3 upgrade has never worked properly.
At the moment I can access the site and all admin functions but I cannot see any images. I can browse the albums, but none of the pictures appear. The Apache logs show 403 errors. All the permissions appear correct as all the files and folders are owned by the same user as pages that work.
[20/Aug/2013:21:27:56 +0100] "GET /gallery3/var/thumbs/Show-Pics/SAM_1248.JPG?m=1364489307 HTTP/1.1" 403 264
Any help much appreciated.
Posts: 27300
Does /gallery3/var/thumbs/Show-Pics/SAM_1248.JPG exist on the file system?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
It does. The problem appears to be with the htaccess as I have renamed the files in albums, thumbs and resizes and now the site works. This is the content of the htaccess in the albums directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule (.*) /gallery3/index.php?kohana_uri=/file_proxy/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
Order Deny,Allow
Deny from All
</IfModule>
Posts: 58
I noticed today that anyone can download the original files (no water mark, large files) from /var/albums/? even if I log out. is this the correct behavior? I thought a regular user should only see what is in the resizes (with water mark, smaller).
Posts: 27300
only if you have permissions set for that album.
FAQ: Are my photos secure? They're right there on my website!
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 58
ok. thanks. the original admin window had the green checks and red -, greyed..I had to recheck them and now it seems to work properly.
upgraded all to 3.0.9 from 3.0.4.
Zach de BeeGuy
Posts: 5
Anyone know why the standard htaccess does not work for me?