Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 103096

Summary: Gallery .htaccess is blank?
Product: Gentoo Linux Reporter: David Grant <davidgrant>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Grant 2005-08-19 17:38:09 UTC
The .htaccess that get installed in blah/gallery/ is for some reason blank.

On one of my computers, I have gallery installed, and .htaccess is not blank. I
just installed gallery on a new computer and it is not blank.

Also, we shouldn't tell the user to create a directory called
blah/gallery/albums, because the default location is blah/gallery/../albums.

ie.

/var/www/sitename.com/htdocs/gallery
and
/var/www/sitename.com/htdocs/albums

NOT
/var/www/sitename.com/htdocs/gallery/albums

Personally, the former is prefered over the latter. The gallery directory is
expendable, if a user rm -rf's it, it's no big deal. Unless their albums are
inside it of course....
Comment 1 David Grant 2005-08-19 17:46:57 UTC
Even after running the setup wizard, it adds some text into .htaccess, but just
comments. It says, BEGIN gallery section, and END gallery section, and a few
other comments and that's about it.

I'm not sure what has changed here. My .htaccess file on a different server has
all the proper Overrides, the mod_rewrite stuff, the magic_quotes_gpc stuff, etc...
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2005-08-20 15:04:10 UTC
gallery ebuilds don't install a custom .htaccess file. 

Fixed postinstall instructions.