R
Richard Bell
I'm new to FrontPage and have encountered a rather strange problem I
don't understand. Here are the symptoms:
I've created a simple page (has a form with a submit button whose
action points to /cgi/test.cgi).
/cgi/test.cgi is a perl script that simply writes a trivial web page (
"hi dude").
I publish the page and cgi
When I click on the submit button I get a server 500 error
Now here is where it gets strange ... if I open the published
/cgi/test.cgi file on the server and then save it (no edits made) and
try the submit button again all is well!
I recall from some years back that there is a difference in Windows
and Unix flavors about the last character in the file (a 0x00 if I
recall). I'm just guessing that by opening and then closing the the
/cgi/test.cgi file I'm 'Unixifing' the /cgi/test.cgi file so now
things work. The question is what do I do on the FrontPage side to
tell it that it's publishing to a Unix system so that it publishes
Unix compatible files?
Thanks.
don't understand. Here are the symptoms:
I've created a simple page (has a form with a submit button whose
action points to /cgi/test.cgi).
/cgi/test.cgi is a perl script that simply writes a trivial web page (
"hi dude").
I publish the page and cgi
When I click on the submit button I get a server 500 error
Now here is where it gets strange ... if I open the published
/cgi/test.cgi file on the server and then save it (no edits made) and
try the submit button again all is well!
I recall from some years back that there is a difference in Windows
and Unix flavors about the last character in the file (a 0x00 if I
recall). I'm just guessing that by opening and then closing the the
/cgi/test.cgi file I'm 'Unixifing' the /cgi/test.cgi file so now
things work. The question is what do I do on the FrontPage side to
tell it that it's publishing to a Unix system so that it publishes
Unix compatible files?
Thanks.