My mistake I was missing the media from the url... It should be
MEDIA_URL = 'http://'+ get_ip_address()+'/media/images/'

On Mar 4, 8:36 pm, "Fes" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having problems with my apache setup. I get a 404 error when
> displaying images.
>
> My settings file is:
>
> MEDIA_ROOT = 'C:\Program Files\Apache Software Foundation
> \Apache2.2\htdocs\media\images'
>
> MEDIA_URL = 'http://'+ get_ip_address()+'/images/'
>
> And I have the following in my .conf file:
>
> <Location "/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>     PythonDebug On
>     PythonAutoReload On
> </Location>
>
> <Location "/media/">
>   SetHandler None
> </Location>
>
> <LocationMatch "\.(jpg|gif|png)$">
>  SetHandler None
> </LocationMatch>
>
> Can anyone see where I'm going wrong?
> Fes


--~--~---------~--~----~------------~-------~--~----~
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