Make sure to group reply so that others can help and be helped (and to
avoid getting accidentally ignored)...please bottom post...

> OK, here is what I have so far
> 
> use CGI;
> use LWP::Simple;
> $URL = "http://www.jeffherbeck.com/arch.doc";;
> $remote_user = $ENV{REMOTE_USER};
> 
> getstore($URL, /var/www/html/$remote_user);
> 
> 
> and I keep getting 
> 
> Server error!
> The server encountered an internal error and was unable to complete
> your request.
> 
> Error message: 
> Premature end of script headers: test.cgi 
> 
> If you think this is a server error, please contact the webmaster. 
> 
> Error 500
> 
> 
> 
> 
> Could you lead me futher?
> 

The above does not have a header printed, which is the most common
reason why you would get a 500 error.  Following that, unless you print
some response you will also get the "Document Contains No Data" error on
the client side. In general when you have a 500 error you triple check
that a proper header is being printed, that nothing is printed before
the header, and from there use the web server log to diagnose further
causes, such as syntax errors, etc. or use the fatalsToBrowser switch to
have errors go to the client (not necessarily advisable in production
facing systems).

> 
> Thanks
> 
> Jeff

http://danconia.org

<snip>

-- 
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