Serving Django's Media Files

CLIFFORD ILKAY clifford_ilkay at dinamis.com
Wed Oct 24 12:51:38 MSD 2007


CLIFFORD ILKAY wrote:
> Hello,
> 
> I have nginx 0.6.3 installed on Debian Etch. I am able to serve Django 
> pages via fcgi but I do not have any styling, CSS, or media because any 
> attempt to access anything in the site_media directory results in a 403 
> being returned by nginx.

It was a silly permissions error on my part. The directory containing 
site_media had needed to have the executable bit set for group and 
other. Works like a charm now, thanks to the good folks on the IRC 
channel who steered me in the right direction.
-- 
Regards,

Clifford Ilkay
Dinamis Corporation
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6

<http://dinamis.com>
+1 416-410-3326





More information about the nginx mailing list