WebFaction
Community site: login faq

hi folks,

I followed the instruction on the docs:

  1. Created an symbolic link app (static only) and link it to /home/carrier24sg/webapps/django/foo/bar/static/
  2. linked it to my subdomain foo.carrier24sg.webfactional.com with /media
  3. tried to grab my static file via foo.carrier24sg.webfactional.com/media/js/bar.js

I checked the log file - the error

teachers.carrier24sg.webfactional.com"

teachers.carrier24sg.webfactional.com"> 2011/07/26 10:53:53 [error] 8434#0:

*15387609 "/home/carrier24sg/webapps/sym_static_teacher/index.html" is not found (2: No such file or directory), client: 220.255.1.120, server: teachers.carrier24sg.webfactional.com, request: "GET /media/ HTTP/1.1", host: "teachers.carrier24sg.webfactional.com"teachers.carrier24sg.webfactional.com"

I got a 404 error. Any steps i missed out?

asked 26 Jul '11, 10:25

amateur
1111416
accept rate: 0%

edited 26 Jul '11, 11:12

There isn't an site at teachers.carrier24sg.webfactional.com and carrier24sg.webfactional.com gives a 500 error. Check your ~/logs/user/error_name of application.log to see what is causing the error. Correct the 500 error and then see why your media is not working. If you cannot figure out the problem, please open a support ticket.

(26 Jul '11, 11:32) timg ♦♦
Be the first one to answer this question!
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:

×186
×17

question asked: 26 Jul '11, 10:25

question was seen: 5,012 times

last updated: 26 Jul '11, 11:32

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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