I have been trying to install gallery2 onto a Ubuntu Server 9.10. I have managed to get the software to work but I'm struggling with permissions.
I don't want anyone other than registered users to be able to see any of the albums on the server. To try and achieve this I have removed all of the 'Everybody' permissions from the top level gallery folder and from the sub album folders. This works fine over my LAN but when I try to access gallery2 over the internet the browsers fails to connect top the site. I have used IE7 on windows machines at work and Firefox on my laptop.I have been deleting browing history and clearing cookies.
If I add a permission for 'Everybody' to the top level folder and remove the 'Everybody' permission from the subfolders you can access the site over the internet and recieve the message 'this album is empty'. You can then log in but I would rather the login page appeared.
I have spent hours trying to solve this can anyone help?
Gallery URL = http://***.***.*.***/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.10-2ubuntu6.4 apache2handler
Webserver = Apache/2.2.12 (Ubuntu)
Database = mysqli 5.1.37-1ubuntu5, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Ffmpeg, Getid3, ImageMagick, jpegtran, LinkItemToolkit, SquareThumb, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux ******** 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 2009 x86_64
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.17) Gecko/2010010604 Ubuntu/9.04 (jaunty) Firefox/3.0.17
Rows in GalleryAccessMap table = 10
Rows in GalleryAccessSubscriberMap table = 52
Rows in GalleryUser table = 3
Rows in GalleryItem table = 50
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0
Posts: 2
I have solved this problem, I needed to delete the last part of the config.php file in /etc/gallery2/config.php
All working fine now