Thanks for the fix.
Besides adding a directory directive, one also needs to make an alias
so that http://mysite.com/media/ points to the style sheets.
I added this to the same apache config as above (and now it works):
AllowOverride None
Options None
Order allow,deny
Allow
On Sun, Oct 31, 2010 at 6:14 PM, elliot wrote:
> Django runs as expected using manage.py runserver, but when I run it
> from apache certain files are not found.
>
> This is because the apache user has a different base directory than
> the user running manage.py. So, I
Django runs as expected using manage.py runserver, but when I run it
from apache certain files are not found.
This is because the apache user has a different base directory than
the user running manage.py. So, I added absolute paths to my
setting.py and other files. Now through apache one can
3 matches
Mail list logo