------- Forwarded message -------
From: bayo <[EMAIL PROTECTED]>
To: django-users@googlegroups.com
Cc:
Subject: serving static files with apache on windows with mod_python
Date: Fri, 07 Dec 2007 14:42:02 +0100

Hi All,
I have been trying to setup django on windowsxp with mod_python.
I have got mod_python3.3.1 running on Apache2.
My django project is also running except for the media files which are
giving me quite a headache
i have added
<Location '/mysite/'>
...
...
</Location>
to the apache httpd.conf file
but when i turn off debug in the settings file as well as turning
PythonDebug Off in the httpd.conf,
my media files (css,images,...) disappear.
I have also done
<Location '/media'>
SetHandler None
</Location>
as well as
<LocationMatch '\.(jpg|png|gif)'>
SetHandler None
</Location>
I have read that my media files should be symlinked to my apache docroot,
and got a tool 'junction' for doing that
on winnt. however, i could not make head or tail of it as the docs are not
very clear to me
Can somebody help me please?
Also have been trying to get #django on ircnode ercently but can't, any
reasons?



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to