[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] personal web sharing



Allan:

It worked for you but its not working for me.  I turned on web sharing
read only access.  I put the following hello world script in my web
pages folder on my hard disk with the extension .cgi.  dow.

#! perl -w

print "Content-type: text/html\n\n";
print "Hello, world!\n";

I type the IP address of my TCP/IP control panel in my web browser.  I
checked the web sharing preferences and there are some action items, do
I have to add an action tab for MacPerl or a pre-process action or something?

Its saying "Bad Gateway" on my browser and A CGI or internal server
component could not complete the requested action in the browser win

Janis

Allan Greenier wrote:
> 
> Actually I just did this tonite! You of course get a different address
> every time you dial up, but other than that I pointed at the CGI, it
> launched MacPerl and then itself.
> Worked like a charm right "out of the box".
> 
> Allan Greenier
> AutoScript Applications
> 
> agreenier@snet.net
> http://www.geocities.com/~autoscript
> 
> > Since personal web sharing sets up your mac as a server is there a way
> > to test cgi scripts using this feature?  If there is how do you do it?
> > My ISP has a site I can put my uploaded files but I would like a way to
> > test them out locally any ideas?
> 
> ===== Want to unsubscribe from this list?
> ===== Send mail with body "unsubscribe" to macperl-request@macperl.org

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org