On Friday 12 May 2006 08:42, [EMAIL PROTECTED] wrote: > I'm installing Gallery 2.1 in 'multi site config'; > > I've put the Gallery tree to /usr/share/gallery2, and, symlinked to > /home/domain.tld/www/gallery (www.domain.tld/gallery/) > I then installed from there, with the site album at > /home/domain.tld/www/photogallery > > that all works fine > > on reviewing security docs, it suggests to have .htaccess as in: > > <Files ~ "\.(inc|class)$"> > Deny from all > </Files> > > BUT, if I put it in /usr/share/gallery2, I still get the pages, but: > > in Firefox, the photos display BUT, the whole layout is 'all over the > place' > > in IE, it basically still works, just, navigation icons are gone > > once I remove .htaccess, it's all good > > I realize I should really ask this on Gallery list, but, in case someone > reconginzes my problem...
What are you trying to achieve? From a security point of view your photos should not be on the www path eg mine are /home/gallery/each.multi.site If you install the password module the albums can be restricted eg http://tigger.ws/vphotos/main.php The first album is restricted. These are bog standard gallery2 install instructions. There may be security flaws in gallery, but this way is secure eg web browsers CANNOT get to your photos except via gallery. The default /web.home/a.multi.site/g2data is not secure, and they tell you so. I've found the gallery forums to be quick and helpfull. James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
