> This not happend in dev mode with the webserver of django.

That's an important observation to make because it limits the places
where this might be happening.

Firefox has an excellent plugin, Live HTTP headers, that can give a
little more insight into what is happening. The following was edited
for brevity.

===========================
http://www.paradondevamos.com/imagen/ <<== requested URL

GET /imagen/ HTTP/1.1 <<== browser to server
Host: www.paradondevamos.com

HTTP/1.x 301 Moved Permanently <<== server response. Aha!
Server: Apache
Location: http://www.paradondevamos.com/images/
===============================

So someone did a 301 redirect on /imagen/. Those don't just happen.

Possibilities in approximate reverse order of probability:

1. Look for a .htaccess file somewhere between your Document Root and
the directory containing the image. These can have powerful, behind-
the-scenes effects on URL rewriting, redirecting, etc. Because it's a
'.' file, you don't see them in a normal 'ls' listing, and they don't
show up in your httpd.conf file.

2. Double check your httpd.conf file and *all included files*. I know
you said there wasn't anything there, but ...

3. Do you have Apache's mod_speling (yes, the name is a deliberate
misspelling) installed? If so, it might be "doing you a favor". I was
bitten by this once and it almost drove me crazy trying to figure it
out. If you have it configured, try commenting it out, restarting the
server and see if this problem goes away. If it does go away, there's
a chance you have a urls/view thing in Django that makes up for a
misnamed /images directory. If that's the case, Apache wouldn't find /
imagen, but it *would* find /images and mod_speling might do the
redirect for you.

4. Look at your URL handling in shared.multimedia.urls-image and see
if there is anything that is conditional (intentionally or otherwise)
on what server you are using.

  Good luck,
  Peter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to