[CentOS] Help with httpd userdir recovery

Robert Moskowitz rgm at htt-consult.com
Wed Dec 28 03:18:18 UTC 2016



On 12/27/2016 07:43 PM, John Fawcett wrote:
> On 12/28/2016 01:12 AM, Robert Moskowitz wrote:
>>
>> On 12/27/2016 07:06 PM, John Fawcett wrote:
>>> On 12/28/2016 12:34 AM, Robert Moskowitz wrote:
>>>> On 12/27/2016 05:44 PM, John Fawcett wrote:
>>>>> That error should be caused by having MultiViews options but incorrect
>>>>> permissions (711 instead of 755) on the directory.
>>>> I just did chmod -R 755 /home/rgm/public_html and no change in
>>>> behavior.
>>>>
>>>> Even tried chmod -R 755 /home/rgm
>>> Are you actually using MultiViews? If you don't need that option, maybe
>>> the easiest thing is to take it out and see if the error message
>>> changes.
>> I am using the default conf file for userdir.
>>
>> /etc/httpd/conf.d/userdir.conf
>>
>> So I deleted Multiviews and now the error is:
>>
>> [Tue Dec 27 19:09:31.013176 2016] [autoindex:error] [pid 2138]
>> (13)Permission denied: [client 192.168.160.12:55762] AH01275: Can't
>> open directory for index: /home/rgm/public_html/family/
>>
>>
>> ____
> I know this is not going to help, but that error means that apache does
> not have access to read the directory /home/rgm/public_html/family/.
> That doesn't really fit with the rest of the evidence, that you have
> chmod 755 everything from /home/rgm/public_html downwards and that
> apache can read specific files from /home/rgm/public_html.

Which is why I wonder if there is some different config for the C7.3 
version of apache.

Or something with the C7-arm build...





More information about the CentOS mailing list