由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
XML版 - question on CGI and XML
相关主题
\\\\\\\\A question about CGI//////what is Premature end of script headers for XML??
[转载] XML parsing problemRe: Please help! How to Program to Create an XML document with no root element?
Validity用于 parse xml的script
example needed挖坑!
how to deal with crash for CGI/PERL[转载] help! XML parse problem
How to parse DTD structure?A question on XML integration
About XML parser[转载] XML question
Re: where to find some sample code of XML document creating and parsing with JAXP DO[转载] a question on XML parser
相关话题的讨论汇总
话题: xml话题: cgi话题: error话题: html话题: perl
进入XML版参与讨论
1 (共1页)
n****u
发帖数: 12
1
Hi, guys,
I am using Perl/cgi to display some webpages. I used xml::dom to parse the
files first to get variables from an xml file. Then output html by using
print. Why couldn't I display the page from a browser? Error: 500 Internal
Server Error. It can output result from Unix commandline(html script). Then,I
did the following,
1. Deleted the xml parsing part from the code, with html part left, it can
display from browser fine (of cause I cahnged those variables in html into
normal text)
2. Add
p******f
发帖数: 162
2

500 means your perl program threw an exception (i.e. died).
did you have a look at the httpd error log file?

【在 n****u 的大作中提到】
: Hi, guys,
: I am using Perl/cgi to display some webpages. I used xml::dom to parse the
: files first to get variables from an xml file. Then output html by using
: print. Why couldn't I display the page from a browser? Error: 500 Internal
: Server Error. It can output result from Unix commandline(html script). Then,I
: did the following,
: 1. Deleted the xml parsing part from the code, with html part left, it can
: display from browser fine (of cause I cahnged those variables in html into
: normal text)
: 2. Add

n****u
发帖数: 12
3
How?

Then,I
use
recognise
Thanks

【在 p******f 的大作中提到】
:
: 500 means your perl program threw an exception (i.e. died).
: did you have a look at the httpd error log file?

p******f
发帖数: 162
4

it's /var/log/httpd/error_log for me, you should try to find it around.

【在 n****u 的大作中提到】
: How?
:
: Then,I
: use
: recognise
: Thanks

n****u
发帖数: 12
5
What perl editor do you use? Is there one that can simulate server to run cgi
file? I tried some, but don't know if it's reliable. Also, Is
"/var/log/httpd/error_log" a route under perl or something? Thanks.

【在 p******f 的大作中提到】
:
: it's /var/log/httpd/error_log for me, you should try to find it around.

1 (共1页)
进入XML版参与讨论
相关主题
[转载] a question on XML parserhow to deal with crash for CGI/PERL
problem with perl XML::Node moduleHow to parse DTD structure?
请教parse XML to MySQL,直接用LOAD XML还是XML->Python->MySQL?About XML parser
Adding XML support to ur FrontPage.Re: where to find some sample code of XML document creating and parsing with JAXP DO
\\\\\\\\A question about CGI//////what is Premature end of script headers for XML??
[转载] XML parsing problemRe: Please help! How to Program to Create an XML document with no root element?
Validity用于 parse xml的script
example needed挖坑!
相关话题的讨论汇总
话题: xml话题: cgi话题: error话题: html话题: perl