Sorry for this repeat post - but i am getting quite
desperate and be
very thankful for some help...
I am unable to display images directly through Apache - with
the
following configuration.Can someone please help. Much
thanks!
the line in my base html reads the following
<p><a href="/"><img src
="/static/images/Contact1.png"
width="85"
ALT ="contact"/></a></p>
my media_url is set to /static/
and the htpd.conf reads the following
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE myapp.settings
PythonDebug On
</Location>
<Location "/media/">
SetHandler None
</Location>
Alias /media/
"C:/Python25/Lib/site-packages/django/contrib/admin/
media/"
<Directory
"C:/Python25/Lib/site-packages/django/contrib/admin/
media/">
Order deny,allow
Allow from all
</Directory>
<Location "/static/">
SetHandler None
</Location>
Alias /static/ "C:/myapp/static/"
<Directory "C:/myapp/static/">
Order deny,allow
Allow from all
</Directory>
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|