WebFaction
Community site: login 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 06 Sep '12, 00:13

DSblizzard
1517
accept rate: 0%

edited 06 Sep '12, 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!

permanent link

answered 06 Sep '12, 11:18

seanf
12.2k42136
accept rate: 37%

Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×19
×6

question asked: 06 Sep '12, 00:13

question was seen: 3,089 times

last updated: 06 Sep '12, 11:18

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM