Django server and Apache serving static files

156 views
Skip to first unread message

pythonista

unread,
Dec 8, 2014, 2:32:07 PM12/8/14
to django...@googlegroups.com
My apache admin is having problems serving static files to the django app.


Apache is on its own server.

My admin says that he needs a relative path defined in Django in order to get Apache to serve the static files from that server for the Django App

Is it possible to define relative paths in the settings file to comply with the requirements of Apache?

And if it is possible can I still use the {%load staticfiles %}  variable.

If this is possible, what would the relevant settings file entries be?

Thanks

Collin Anderson

unread,
Dec 9, 2014, 2:29:25 PM12/9/14
to django...@googlegroups.com
Hi,

There's a good Apache example here if you haven't seen it.


Collin
Reply all
Reply to author
Forward
0 new messages