l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2006 Jun 14 16:21

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Tracking down a "redirect"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Tracking down a "redirect"



On Wed, Jun 14, 2006 at 03:16:50PM -0700, Micah J. Cowan wrote:
> On Wed, Jun 14, 2006 at 02:30:54PM -0700, Richard Crawford wrote:
[snip]
> > Domain http://unexdlc.ucdavis.edu should be resolving to IP address 
> > 152.79.198.9.  However, it is instead resolving to http://extensiondlc.net, 
> > which is an entirely different IP address.  Similarly, typing 
> > http://152.79.198.9 into a browser brings up extensiondlc.net, which should 
> > not be happening.
[snip]
> You say "... should be resolving to IP address 152.79.198.9." However,
> according to dig:
[snip]
>     unexdlc.ucdavis.edu.    7200    IN      CNAME   extensiondlc.net.
>     extensiondlc.net.       86364   IN      A       204.11.233.24

Furthermore, connecting directly to 152.79.198.9 causes "301 Moved
Permanently" redirection to unexdlc.ucdavis.edu, which is an alias for
extensiondlc.net.  So it appears to be a 2-layer problem - DNS as well
as some server issue.

Output with HTTP/1.0 connection:

  $telnet 152.79.198.9 80
  Trying 152.79.198.9...
  Connected to 152.79.198.9.
  Escape character is '^]'.
  GET / HTTP/1.0
  
  HTTP/1.1 301 Moved Permanently
  Date: Wed, 14 Jun 2006 22:48:15 GMT
  Server: Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 DAV/2
  Location: http://unexdlc.ucdavis.edu/
  [snip]

  $host unexdlc.ucdavis.edu
  unexdlc.ucdavis.edu is an alias for extensiondlc.net.
  extensiondlc.net has address 204.11.233.24
  [snip]

and you get the same output if you use HTTP/1.1 with host set to
152.79.198.9.  FYI, if you try HTTP/1.1 with host set to
unexdlc.ucdavis.edu:

  $telnet 152.79.198.9 80
  Trying 152.79.198.9...
  Connected to 152.79.198.9.
  Escape character is '^]'.
  GET / HTTP/1.1
  host: unexdlc.ucdavis.edu
  
  HTTP/1.1 302 Found
  Date: Wed, 14 Jun 2006 22:52:50 GMT
  Server: Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 DAV/2
  Location: http://unexdlc.ucdavis.edu/cfmx/DLC/
  Content-Length: 340
  Content-Type: text/html; charset=iso-8859-1
  
  <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  <html><head>
  <title>302 Found</title>
  </head><body>
  <h1>Found</h1>
  <p>The document has moved <a
  href="http://unexdlc.ucdavis.edu/cfmx/DLC/";>here</a>.</p>
  <hr />
  <address>Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 DAV/2 Server
  at unexdlc.ucdavis.edu Port 80</address>
  </body></html>
  
  Connection closed by foreign host.

It's a "302 Found" but it tells you to go to unexdlc.ucdavis.edu which
is an alias for extensiondlc.net.  However you look at it, you're being
sent to extensiondlc.net.

Someone sure went to great lengths to redirect everything to
extensiondlc.net.  Are you trying to undo the redirection?

-Mark
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.