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

Bug 188109

Summary: www-apps/mythweb-0.20.1_p14146 causes 403 Forbidden for mythweb/
Product: Gentoo Linux Reporter: Karl Newman <SiliconFiend>
Component: New packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl Newman 2007-08-08 14:01:02 UTC
After installing mythweb-0.20.1_p14146, access to the mythweb/ location on the web server was denied with a 403 Forbidden. I eventually traced it down to the .htaccess file that is installed by the ebuild. The file is owned by root:apache, but the file permissions are 600, so the apache process couldn't read the file and therefore denied access. My solution was to change the ownership to apache:apache. 
It may be possible to accomplish this in the ebuild with 
webapp_serverowned ${MY_HTDOCSDIR}/.htaccess
(if I understand the usage of that command correctly)

It's possible this is a webapp-config bug.

Using apache-2.0.58-r2, webapp-config-1.50.16-r1, no vhosts USE flag
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-08-10 20:01:02 UTC
Fixed.