I am sorry if this appears too often, but I have not seen several messages that I sent to the list distributed or appearing on the maillist archive. Moreover, I am getting a lot of failed mailings. At first these seemed to be bogus, since I did get replies. However, my last message despite having sent it twice has received no return comments. Here is my third attempt just to the mail list for perl-cgi.

Chris Devers wrote:

Go back to the original telnet line, establish a connection, and then type one word, followed by hitting the enter key twice. (Did you see how CGI scripts have to terminated headers with "\n\n" ? Hitting return twice is the same thing.)

This should bring back a response from the server.



Tried this very quickly: worked fine!! Almost identical to your output.




On the other hand, now that we know you have Linux, you can probably do this more easily by using the "lynx" text-mode web browser. Try one of these lines:


lynx -dump -head http://localhost/
lynx -dump -head http://localhost:8080/

You should get back responses something like this:


I did the lynx -dump -head http://localhost:8080/ command and I saw a
few more lines than what you list, so this implies apache is in good
shape and listening but impervious to my requests.



$ lynx -dump -head http://localhost:8080/
HTTP/1.1 200 OK
Date: Fri, 13 Aug 2004 15:38:50 GMT
Server: Apache/1.3.29 (Darwin) mod_perl/1.26 mod_ssl/2.8.16 OpenSSL/0.9.7b
Connection: close
Content-Type: text/html


$ lynx -dump -head http://localhost:8080/
HTTP/1.1 200 OK
Date: Fri, 13 Aug 2004 15:38:55 GMT
Server: Apache/1.3.29 (Darwin) mod_perl/1.26 mod_ssl/2.8.16 OpenSSL/0.9.7b
Connection: close
Content-Type: text/html


The details may vary, but it'll be substantially the same block.


Here is what I am seeing that seems to have more content than you
listed. Are any clues in this listing?

HTTP/1.1 200 OK
Date: Fri, 13 Aug 2004 16:06:29 GMT
Server: Apache/1.3.31 (Unix)
Content-Location: index.html.en
Vary: negotiate,accept-language,accept-charset
TCN: choice
Last-Modified: Fri, 04 May 2001 00:00:38 GMT
ETag: "241e73-5b0-3af1f126;4116b8e2"
Accept-Ranges: bytes
Content-Length: 1456
Connection: close
Content-Type: text/html
Content-Language: en
Expires: Fri, 13 Aug 2004 16:06:29 GMT




If you can get this far, Apache is basically working.

If you hit errors here, you need to fix Apache.


//

I have had no luck being able to connect to my local apache server using http://127.0.0.1. Same result when I drop the http;//. Would anyone have a suggestion how I might connect and see my scripts execute?


Again TIA.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>







Reply via email to