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
Ray Drew
2001-11-27
Mikhail:
<<<
It may not work if there is a problem with the real server name.
>>>

Greg:
<<<
A-ha!
>>>

Mikhail:
<<<
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/).
>>>

Greg:
<<<
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.
>>>

Windows XP does have a telnet but I can't find a GET command - from the
help:-

Commands may be abbreviated. Supported commands are:

c    - close                    close current connection
d    - display                  display operating parameters
o    - open hostname [port]     connect to hostname (default port 23).
q    - quit                     exit telnet
set  - set                      set options (type 'set ?' for a list)
sen  - send                     send strings to server
st   - status                   print status information
u    - unset                    unset options (type 'unset ?' for a list)
?/h  - help                     print help information


I'm home now. I'll look into it more tomorrow.

thanks,

Ray


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



reply