[Discuss] apache problem

David Kramer david at thekramers.net
Fri Jan 4 18:01:54 EST 2019


Specifically, it's got to be readable by the apache user, and you need 
to set the DocumentRoot to it.

On 1/4/19 5:34 PM, Joe Polcari wrote:
> It’s probably the web server trying to navigate into /home/*
> Put the link in the other direction and try it
>
> -----Original Message-----
> From: Discuss <discuss-bounces+joe=polcari.com at blu.org> on behalf of dan
> moylan <jdm at moylan.us>
> Date: Friday, January 4, 2019 at 5:01 PM
> To: "discuss at blu.org" <discuss at blu.org>
> Cc: betty moylan <mem at moylan.us>
> Subject: [Discuss] apache problem
>
>> newly installed fc29 from scratch on my laptop -- apache
>> appears to be running ok.  chrome displays
>> localhost/welcome.htm just fine, but when i try
>> localhost/moylan/welcome.htm, where welcome.htm is in
>> /home/moylan/www, i get: "you don't have permission to
>> access localhost/moylan/welcome.htm on this server"
>>
>> i have a similar setup (ostensibly identical, but obviously
>> not) on a different computer which works fine.  i checked
>> links and permissions on the laptop and see mothing amiss.
>>
>> ls -l /var/www/html
>>   total 4.0K
>>   lrwxrwxrwx. 1 root root  16 190103:1425 moylan -> /home/moylan/www/
>>   -rw-r--r--. 1 root root 128 190104:1307 welcome.htm
>> ls -ld /home
>>   drwxr-xr-x. 4 root root 4096 Jan  3 14:24 /home
>> ls -ld /home/moylan
>>   drwxr-xr-x. 24 moylan moylan 4096 Jan  4 14:21 /home/moylan
>> ls -ld /home/moylan/www
>>   drwxr-xr-x. 31 moylan moylan 4096 Nov 19 12:24 /home/moylan/www
>> ls -l  /home/moylan/www/welcome.htm
>> -rw-r--r-- 1 moylan moylan 133 190104:1325 /home/moylan/www/welcome.htm
>>
>> no matter how many times i go through this, i always seem to
>> miss something.  where else should i be looking?
>>
>> ole dan
>>
>> j. daniel moylan
>> 84 harvard ave
>> brookline, ma 02446-6202
>> 617-777-0207 (cel)
>> jdm at moylan.us
>> www.moylan.us
>> [no html pls]
>> _______________________________________________
>> Discuss mailing list
>> Discuss at blu.org
>> http://lists.blu.org/mailman/listinfo/discuss
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss



More information about the Discuss mailing list