login community faq

site.ru display static content as it should, but www.site.ru returns 500 error (in logs) while retrieving css. I cannot see any difference in domain configuration in project files, apache files or control panel. What do you think, where to look for this difference?
EDIT: Now this problem is gone, but I do nothing for it. Strange. Site is written with Django, if it matters.

asked Sep 06 '12 at 00:13

DSblizzard's gravatar image

DSblizzard
153

edited Sep 06 '12 at 00:25


Your Django app error logs in ~/logs/user will give you details of the nature of the error.

That said, you shouldn't be serving static files directly from your Django app - instead, you should serve them from a separate static app.

Here are some documents that you may find helpful:

Hope that helps!

answered Sep 06 '12 at 11:18

seanf's gravatar image

seanf ♦♦
56291220

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×15
×4

Asked: Sep 06 '12 at 00:13

Seen: 458 times

Last updated: Sep 06 '12 at 11:18

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited