Ispconfig and gallery3

chrisss

Joined: 2009-09-13
Posts: 8
Posted: Sun, 2009-09-13 11:51

Hi

First of all thank you for the best gallery there is.

I am currently testing av gallery3 beta2 with debian+ispconfig+suphp with the var directory on another harddrive. This is causing some problems because gallery 3 is chmoding everything it is creating to 700 and that gives me problems with permissions (my setup requires 755) Is it possible to change this in beta 3?

I also notice that in the .htaccess file a lot of phpsettings gets changed. Will it be like this in the final product?

And last, will there be better image security in the final product? Right now you get the direct link to the image and can afterwards guess the links to the rest of the images (the name usually only differs with one digit)

Best regards
Christian

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-09-13 17:00

Gallery isn't doing that. It's your system. I'm betting it's your setup with suphp and possibly some other settings.

As for the settings in .htaccess probably most of them, though I keep forgetting to ask bharat about a few of them. Most of them are needed to ensure G3 will work in your PHP environment.

About image security:
FAQ: Are my photos secure? They're right there on my website!
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
chrisss

Joined: 2009-09-13
Posts: 8
Posted: Sun, 2009-09-13 17:55

Thanks for a fast reply and good answers.

One more thing. The faq advises people with server error 500 to put this in their httpd

<Location "/gallery3/">
AllowOverride +Options
</Location>

But in the official apache documentation it is written that this isnt the way to do it. And with my configuration i had problems, so maybe that tip should be changed?

Only available in <Directory> sections
AllowOverride is valid only in <Directory> sections specified without regular expressions, not in <Location>, <DirectoryMatch> or <Files> sections.

(http://httpd.apache.org/docs/2.2/mod/core.html)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-16 17:16

Just wrapping your threads together:

Solution for the permission issue posted here:
http://gallery.menalto.com/node/91209
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here