> On 16 May 2018, at 12:49 pm, Brad S <[email protected]> wrote:
> 
> [Wed May 16 02:44:46.826002 2018] [wsgi:error] [pid 16355] [remote 
> 73.135.97.117:35304] Not Found: /home/robin/www/trader/style.css
> ^C
> 
> root@localhost:/home/robin/www/trader# ls -l /home/robin/www/trader/style.css
> -rw-r-xr-x 1 www-data www-data 155 May 15 20:17 
> /home/robin/www/trader/style.css

But what do you get for:

    ls -lasd /home/robin
    ls -lasd /home/robin/www
    ls -lasd /home/robin/www/trader

Are all those directories accessible to others.

On many systems home directories are not accessible to others and you wouldn't 
be able to host anything out of it.

It is better not to host stuff out of a home directory.

Graham

> On Tuesday, May 15, 2018 at 10:35:31 PM UTC-4, Graham Dumpleton wrote:
> 
> 
>> On 15 May 2018, at 1:37 pm, Brad S <[email protected] <>> wrote:
>> 
>> My css is failing. no css commands initialize in my templates page.
>> django shows no errors in it but in the apache logs I see that the stlye.css 
>> cannot be found, even with a static path.
>> 
>>     [wsgi:error] [pid 25372] [remote 73.135.97.117:47050 
>> <http://73.135.97.117:47050/>] Not Found: 
>> /home/robin/www/trader/templates/trader/style.css
>> 
>> but the file is very much there. I tried permission 644 and 777 to the 
>> style.css file
> 
> It isn't just the file that needs to be readable in some way to the user that 
> Apache runs as, but all the directories back up to the root directory. If any 
> of the directories doesn't have o+rx on permissions, then the Apache user 
> will not be able to read anything under the directory. So check that.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to