Hello, I'm deploying my first django app, so please bear with me :) I am encountering a 404 error (NGINX) when attempting to serve static media from within my app. Per these instructions: http://docs.webfaction.com/software/django/config.html#serving-django-static-media Here is my
I then executed Now blog->myproject contains a dircetory called 'home' which appears to be an exact duplicate of my file structure leading up to the static files ( which I suppose is the expected result ) Obviously I receive 404 errors when attempting to retrieve any static files. I think a symlink might do the trick, but I am hesitant to employ that because it shoots all of my attempts to decouple this application right in the foot. Any help would be appreciated, Austin asked 17 Nov '11, 19:33 Austin Rivas ryans ♦♦ |
The problem is that you used:
instead of
The first one is a relative path, which explains why the Instead, just delete that "home" directory, fix Hope that helps! answered 17 Nov '11, 22:23 ryans ♦♦ 1
Gracias, That solved it right off the bat. I would vote you up but I don't have enough rep yet :(
(18 Nov '11, 13:05)
Austin Rivas
|
I apologize for the format errors, something weird happened when I pasted it over :(
no worries - we fixed the formatting and are now looking into it.