Ben Crane wrote:

> Dan,
>
> Nope, doesn't work, either of them. I get these errors
> from the error.log file
>
> Premature end of script headers: c:/program
> files/apache group/apache/cgi-bin/test.cgi
>
> Use of uninitialized value in print at c:/program
> files/apache group/apache/cgi-bin/test.cgi line 5.

What is it that you are trying to do?  Are you trying to get a file
from a localhost?

If so, substitue for google.com in Dan's code:
http://localhost/virtual/path/filename.thml

If you have Apache set up properly, you should see the files you
want to serve.

One thing that might uncomplicate the issue just to help you sort
things out would be to isolate issues.   You might try using the
much more user-friendly IIS instead of Apache.  Also, test LWP get
separately from your CGI.  Test your CGI from a standard tested
browser.  Test your LWP get with simple html pages, then with
scripts that have been shown to work properly in a standard
browser.  Testing with mutliple unknown factors in the mix causes an
exponential increase in the difficulty of debugging.

Joseph




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to