Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188109 - www-apps/mythweb-0.20.1_p14146 causes 403 Forbidden for mythweb/
Summary: www-apps/mythweb-0.20.1_p14146 causes 403 Forbidden for mythweb/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 14:01 UTC by Karl Newman
Modified: 2007-08-10 20:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.