--On Thursday, November 27, 2003 11:58 AM -0700 Eugene Ray <[EMAIL PROTECTED]> wrote:

I'm running across something strange (to me).  I have an .html file that
is posting to parent_info.cgi but the only file in the directory is

I'm a little confused by this usage. You .html file isn't doing anything. But apparantly it contains a construct (e.g. a form) in response to which the browser sends a POST to parent_info.cgi.


parent_info.cgi.bin The script seems to execute and the browser url

I've heard of Web servers that handle a request for foo.txt by returning the decompressed contents of foo.txt.gz (if foo.txt doesn't exist). Perhaps your server is un-MacBinarizing the file in order to serve the request? What server are you running?


reads parent_info.cgi ?? I changed .bin to .hqx and expanded the file to

Did you BinHex-encode the file, or just rename it?


find the script code I expected to see as if there were a straight
parent_info.cgi file.  What is MacPerl doing here and how can I save my
modified scripts in the .bin format to execute properly?

Are you running a Mac-based Web server? You don't need to encode your scripts. Encoding is used to make sure that Mac users can download Mac files without corruption. In the case of CGI scripts, they aren't downloaded -- they just get run locally.


If you're developing in MacPerl but deploying on a Unix-based server (e.g. Linux or Mac OS X), you still don't need to encode the files.

any help/advice would be great!

You need to give us more details on your current setup and what you're trying to do.


Josh

--
Joshua Juran
Metamage Software Creations - Mac Software and Consulting
http://www.metamage.com/

* Creation at the highest state of the art *




Reply via email to