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="{% url satchmo_contact %}"><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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---