k61ljlmc
12-09-2007, 12:11 PM
I am new to Host Monster because Time-Warner doesn't allow CGI scripts. I have done almost all my Perl and XML programming behind IBM's firewall and would like to have some examples for my resume where other can view it. I have a Perl MySql example working on my Host Monster site (jamesmiller.info/cgi-bin/page1.pl). I wanted to duplicate the example with the Perl outputting XML. The script works, BUT get a
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
Log:
[Sun Dec 9 11:08:40 2007] [error] [client 67.35.30.149] File does not exist: /usr/local/apache/htdocs/autodiscover/autodiscover.xml [Sun Dec 9 11:09:02 2007] [error] [client 24.161.82.244] script not found or unable to stat: /home/jamesmil/public_html/cgi-bin/xmp_page1.pl [Sun Dec 9 11:09:10 2007] [error] [client
24.161.82.244] malformed header from script. Bad header=<?xml version="1.0" encoding=": /home/jamesmil/public_html/cgi-bin/xml_page1.pl
when trying to run it from the web using either the www/cgi-bin or the public_html directories. I have posted the script output (page1.xml) to public_html and it displays. Anybody have any suggestions?
XSL file has been posted, second page waiting on solution to this problem.
moved all the scripts and php files to public_html and changed .htaccess to alloe them to run
500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
Log:
[Sun Dec 9 11:08:40 2007] [error] [client 67.35.30.149] File does not exist: /usr/local/apache/htdocs/autodiscover/autodiscover.xml [Sun Dec 9 11:09:02 2007] [error] [client 24.161.82.244] script not found or unable to stat: /home/jamesmil/public_html/cgi-bin/xmp_page1.pl [Sun Dec 9 11:09:10 2007] [error] [client
24.161.82.244] malformed header from script. Bad header=<?xml version="1.0" encoding=": /home/jamesmil/public_html/cgi-bin/xml_page1.pl
when trying to run it from the web using either the www/cgi-bin or the public_html directories. I have posted the script output (page1.xml) to public_html and it displays. Anybody have any suggestions?
XSL file has been posted, second page waiting on solution to this problem.
moved all the scripts and php files to public_html and changed .htaccess to alloe them to run