This is a discussion on SOmething happens with Apache within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, giving this command on my computer GET / HTTP/1.0 I get this file <!DOCTYPE HTML PUBLIC "-//...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi, giving this command on my computer
GET / HTTP/1.0 I get this file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>SearchMachine.com</title> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> <script language="JavaScript" src="http://www.registrarads.com/adpopup.php?n=a43 27b18&what=zone:12&target=_blank&popun der=1&left=300&top=250 "></script><script language="JavaScript" src="http://www.registrarads.com/adpopu p.php?n=a4327b18&what=zone:12&target=_blan k&popunder=1&left=300&top=250"></script><script language="JavaScript" src="http://www.registrarads.com/adpopup.php?n=a07d3b1b&what=zone:40&target =_blank&popunder=1&left=500&top=100"></script> </head> <frameset frameborder="0" framespacing="0" border="0" rows="100%,*"> <frame name="MYTOPFRAME" src="http://www.searchmachine.com/index-http.html"noresize> <noframes> <body> <h1>SearchMachine.com</h1> <br> <br> <br> Click here to enter <a href="http://www.searchmachine.com/index-http.html">http://www.searchmachine.com/index-http.html</a> <hr> | Domain Name Registration and Domain Name Forwarding by <a href="http://www.mydomain.com">mydomain.com - Register your domain name</a> </body> </noframes> </frameset> </html> Is it normal? I don't understand how it happens. Could anyone help me, please, to understand this? Frank -- Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. |
|
|||
|
"Francesky" <lamp@dario.it> schreef in bericht
news:pan.2005.06.22.11.31.24.526627@dario.it... > GET / HTTP/1.0 Using what tool and how did you provide a hostname -aka sitename- to address? > I get this file [snipped advertisement for domain registration] > Is it normal? IMHO NO... though it seems to be(come) common practice > I don't understand how it happens. I guess you use www.mydomain.com for 'inhouse' testing, however is exist on the internet too. If 'mydomain' is a dummy name, a typo in the true name may have triggering a wildcard response from the intenet's DNS services: directing you (un)kindly to some promotional page maintained by a registar in your area. This method was first introduced on a worldwide scale by Verisign for .com and .net domains mid September 2003. http://www.iab.org/documents/docs/20...wildcards.html HansH |
|
|||
|
> Using what tool and how did you provide a hostname -aka sitename- to
> address? I used Webmin to configure Apache >> I don't understand how it happens. > I guess you use www.mydomain.com for 'inhouse' testing, however is exist on > the internet too. Well. I have subscribed a dynamic DNS service with Zonedit, ad I believed it was producing this file for I had ddclient working. BUt now I have stopped this service, and it contnues to create that file. Frank -- Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. |
|
|||
|
"Francesky" <lamp@dario.it> schreef in bericht
news:pan.2005.06.22.19.14.21.910130@dario.it... > > Using what tool and how did you provide a hostname -aka sitename- to > > address? > I used Webmin to configure Apache Misunderstanding ... What program did you use to make the request 'GET / HTTP/1.0'? What host did you tell this progam to visit? > >> I don't understand how it happens. > > I guess you use www.mydomain.com for 'inhouse' testing, however is exist on > > the internet too. > Well. I have subscribed a dynamic DNS service with Zonedit, ad I believed > it was producing this file for I had ddclient working. BUt now I have > stopped this service, and it continues to create that file. DNS information is cached all over the internet, even on your machine. So after you updated records at ZoneEdit's dynDNS, it may take a while to be known everywhere. It should be setup to update globally in about 5 min, however some don't want to make renewal request too often :-( For those clients and DNSresolvers that did not yet find any record to your domain, the maintainer's wildcard record may 'steel' the domain. If the croaked data has a refresh set to a day, it takes some more patients to wait for update to reach the other end of the internet. IMHO this issue is far beyond the configuration of Apache. HansH > > Frank > > -- > Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" > > Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. > |
|
|||
|
On Wed, 22 Jun 2005 23:06:28 +0200, in alt.apache.configuration,
"HansH" <hans@niet.op.het.net> wrote: >"Francesky" <lamp@dario.it> schreef in bericht >news:pan.2005.06.22.19.14.21.910130@dario.it... >> > Using what tool and how did you provide a hostname -aka sitename- to >> > address? >> I used Webmin to configure Apache >Misunderstanding ... >What program did you use to make the request 'GET / HTTP/1.0'? What host did >you tell this progam to visit? He may have a GET executable on his system. There is a PERL LWP module which has the option of installing GET, POST, etc. GET is "Simple user agent using LWP library" and 'GET <URL>' dumps the page to the terminal. Jim |
|
|||
|
HansH wrote:
> "Francesky" <lamp@dario.it> schreef in bericht > news:pan.2005.06.22.19.14.21.910130@dario.it... > >>>Using what tool and how did you provide a hostname -aka sitename- to >>>address? >> >>I used Webmin to configure Apache > > Misunderstanding ... > What program did you use to make the request 'GET / HTTP/1.0'? What host did > you tell this progam to visit? > I beleive he used the Konsole I tried the command GET / HTTP/1.0 in my Konsole and got <HTML> <HEAD> <TITLE>Directory /</TITLE> <BASE HREF="file:/"> </HEAD> <BODY> <H1>Directory listing of /</H1> <UL> <LI><A HREF=".%2F">./</A> <LI><A HREF="..%2F">../</A> <LI><A HREF=".autofsck">.autofsck</A> <LI><A HREF="bin%2F">bin/</A> <LI><A HREF="boot%2F">boot/</A> <LI><A HREF="dev%2F">dev/</A> <LI><A HREF="etc%2F">etc/</A> <LI><A HREF="home%2F">home/</A> <LI><A HREF="initrd%2F">initrd/</A> <LI><A HREF="lib%2F">lib/</A> <LI><A HREF="mnt%2F">mnt/</A> <LI><A HREF="opt%2F">opt/</A> <LI><A HREF="proc%2F">proc/</A> <LI><A HREF="root%2F">root/</A> <LI><A HREF="sbin%2F">sbin/</A> <LI><A HREF="swap%2F">swap/</A> <LI><A HREF="sys%2F">sys/</A> <LI><A HREF="tmp%2F">tmp/</A> <LI><A HREF="usr%2F">usr/</A> <LI><A HREF="var%2F">var/</A> <LI><A HREF="xorg.conf">xorg.conf</A> </UL> </BODY> </HTML> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>SearchMachine.com</title> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> <script language="JavaScript" src="http://www.registrarads.com/adpopup.php?n=a4327b18&what=zone:12&target =_blank&popunder=1&left=300&top=250"></script><script language="JavaScript" src="http://www.registrarads.com/adpopup.php?n=a4327b18&what=zone:12&target =_blank&popunder=1&left=300&top=250"></script><script language="JavaScript" src="http://www.registrarads.com/adpopup.php?n=a07d3b1b&what=zone:40&target =_blank&popunder=1&left=500&top=100"></script> </head> <frameset frameborder="0" framespacing="0" border="0" rows="100%,*"> <frame name="MYTOPFRAME" src="http://www.searchmachine.com/index-http.html" noresize> <noframes> <body> <h1>SearchMachine.com</h1> <br> <br> <br> Click here to enter <a href="http://www.searchmachine.com/index-http.html">http://www.searchmachine.com/index-http.html</a> <hr> | Domain Name Registration and Domain Name Forwarding by <a href="http://www.mydomain.com">mydomain.com - Register your domain name</a> </body> </noframes> </frameset> </html> [dwmoar@pclos dwmoar]$ |
|
|||
|
> Misunderstanding ...
> What program did you use to make the request 'GET / HTTP/1.0'? What host did > you tell this progam to visit? I used Konsole, and I didn't tell the program to visit an host, I simply wrote GET / HTTP/1.0 and I got that strange page Franc -- Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. |
|
|||
|
> I beleive he used the Konsole Yes, I used Konsole > I tried the command GET / HTTP/1.0 in my Konsole and got > > <HTML> > <LI><A HREF="proc%2F">proc/</A> > <frame name="MYTOPFRAME" Is it normal? How dows it happen? Franc -- Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. |
|
|||
|
"Francesky" <lamp@dario.it> schreef in bericht
news:pan.2005.06.23.17.42.10.393969@dario.it... > > I beleive he used the Konsole > Yes, I used Konsole > > I tried the command GET / HTTP/1.0 in my Konsole and got I toke this line for a HTTP request typed into eg a telnet terminal and was thus asking for the header used ... Given the line <BASE HREF="file:/"> this Perl-LWP-based thingy is defaulting to local _filesystem_ > > <HTML> > > <LI><A HREF="proc%2F">proc/</A> > > <frame name="MYTOPFRAME" > > Is it normal? > How dows it happen? Using http://schmerg.pwp.blueyonder.co.uk/HttpSniffer.pl.txt as a local proxy upstreaming to a provider's proxy to monitor the dialogue by GET -p http://localhost:8080 / HTTP/1.0 it appears to have sent _TWO_ request !! 1. Response <-- C04 <-- S05 ==== (69.651) Response 400 to <GET file:/ HTTP/1.1> <-- C04 <-- S05 HTTP/1.0 400 Bad Request <-- C04 <-- S05 Mime-Version: 1.0 <-- C04 <-- S05 Date: Thu, 23 Jun 2005 20:12:02 GMT <-- C04 <-- S05 Content-Type: text/html <-- C04 <-- S05 Content-Length: 1171 <-- C04 <-- S05 Expires: Thu, 23 Jun 2005 20:12:02 GMT <-- C04 <-- S05 Proxy-Connection: close <-- C04 <-- S05 ==== Body 1171 bytes 2. Response: <-- C04 <-- S05 ==== (70.237) Response 404 to <GET http://www.http.com/1.0 HTTP /1.1> <-- C04 <-- S05 HTTP/1.0 404 Not Found <-- C04 <-- S05 Date: Thu, 23 Jun 2005 20:13:24 GMT <-- C04 <-- S05 Server: Apache/2.0.49 (Unix) PHP/4.3.9 <-- C04 <-- S05 X-Powered-By: PHP/4.3.9 <-- C04 <-- S05 Content-Length: 1335 <-- C04 <-- S05 Content-Type: text/html; charset=ISO-8859-1 <-- C04 <-- S05 Proxy-Connection: close <-- C04 <-- S05 ==== Body 1335 bytes So, all we've been looking at is a 'freindly-but-non-informative' error message of 1335 bytes ... >:-o Next time use 'GET -Sue / http/12' and SEE the pair of request and the pair of response headers too. Enforcing protocol version 1.0 can [only] be achived by 'env PERL_LWP_USE_HTTP_10=1 GET -Sue http://web.server.org' However AFAIK there's no way to disable the 'Host: ' request-header. HansH |
|
|||
|
"Francesky" <lamp@dario.it> wrote in message news:pan.2005.06.22.19.14.21.910130@dario.it... > > Using what tool and how did you provide a hostname -aka sitename- to > > address? > > I used Webmin to configure Apache That wouldn't be causing your problem. www.mydomain.com is an internet doain name and is taken. so if you probed www.mydoamin.com on port 80 then you would get the html on the main page on that site. if you want to test your web site use its ip address instead unless you are testing dns > > >> I don't understand how it happens. > > I guess you use www.mydomain.com for 'inhouse' testing, however is exist on > > the internet too. > Well. I have subscribed a dynamic DNS service with Zonedit, ad I believed > it was producing this file for I had ddclient working. BUt now I have > stopped this service, and it contnues to create that file. > > Frank > > -- > Confucio: "Se ascolto dimentico, se vedo ricordo, se faccio capisco" > > Go to http://www.surveysavvy.com/?id=2030157 and click on 'Join'. > |