durusmail: quixote-users: strange location behaviour with mod_python
strange location behaviour with mod_python
2001-11-27
2001-11-27
2001-11-27
2001-11-27
2001-11-27
2001-11-27
2001-11-27
2001-11-27
2001-11-28
strange location behaviour with mod_python
Greg Ward
2001-11-27
On 27 November 2001, Mikhail Sobolev said:
> It may not work if there is a problem with the real server name.

A-ha!

> If I understand correctly, the URL /machinename/q/ goes directly to
> something reasonable, while /machinename/q results in a redirection to
> the URL which is form from the value of SERVER_NAME variable and the new
> path (/q/).

That sounds right.  Thanks Mikhail.

Ray, does Windows XP have a command-line telnet like Unix's?  If so, try
this: first, on the server machine:

  $ telnet localhost 80
  GET /q HTTP/1.0

The response should be an HTTP redirect to http://???/q/, where I'm not
sure what ??? will be.

Now try it from a different machine and see what the redirect looks
like.  This might be a DNS or web server problem.

       Greg


reply