[olug] Apache config
Barry Von Ahsen
barry at vonahsen.com
Thu Sep 27 16:09:59 UTC 2012
is it a red hat-ish distro?
what does sestatus say (as root)?
# sestatus
SELinux status: disabled
here's the chunk of the default CentOS userdir configuration, did you tweak that?
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# The path to the end user account 'public_html' directory must be
# accessible to the webserver userid. This usually means that ~userid
# must have permissions of 711, ~userid/public_html must have permissions
# of 755, and documents contained therein must be world-readable.
# Otherwise, the client will only receive a "403 Forbidden" message.
#
# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
#
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir disable
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
# the following line instead:
#
#UserDir public_html
</IfModule>
-barry
On Sep 27, 2012, at 10:59 AM, Sam Flint wrote:
> Ok, that might be it, probably is, but it needs to be apache owned
> through and through, I am uasing vhosts if that makes any difference,
> along with userdirs.
>
> Sam
>
> On Thu, Sep 27, 2012 at 10:36 AM, Barry Von Ahsen <barry at vonahsen.com> wrote:
>> sure - my first SWAG is that you're serving from a non-standard directory and don't have a <Directory> allow directive (or that plus a missing SElinux context)
>>
>> -barry
>>
>>
>> On Sep 27, 2012, at 10:29 AM, Sam Flint wrote:
>>
>>> I was wondering, would any of you be willing to look at my apache
>>> config file and tell me why i get access denied errors?
>>>
>>> Sam
>>>
>>> --
>>> Sam Flint
>>> flintfam.org/~swflint
>>> _______________________________________________
>>> OLUG mailing list
>>> OLUG at olug.org
>>> https://lists.olug.org/mailman/listinfo/olug
>>
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>
>
>
> --
> Sam Flint
> flintfam.org/~swflint
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list