Hi Alan, Robert, Tom and Darryl Thank you very much for your suggestions. Done all what you wrote me ! I'm using Web* 2.0 along to MacPerl, configured suffix and actions, and seems to be working... (saving as CGI) Just a general question... How much, an already done and working script (on Perl 4 SGI), is compatible with a MacPerl script ? In example in order to get forms variable I usally use this lines: if ($ENV{'REQUEST_METHOD'} eq 'POST') { read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $value =~ tr/,/ /; $contents{$name} = $value; } } Is this valid for MacPerl ? I suppose no. :( and what about path variables like $filepath = "/www/web/user/folder/file.txt"; are compatible ? I'm going to think that should not be so easy to make a porting of my existing script, on a Mac platform.... I've heard that on WindowsNT is not so hard ! I do not want to bore you and listmembers too much with my novice questions, so if you could forward me some links to online manuals, where I can learn how to port my scripts on Mac will be enought. Thanks again for your courtesy. Simone Mannini (Florence-Italy) >Robert Sweeney wrote to you (in part) yesterday: > >>>Any free webserver can do this for you... you have to be online and Know >>>your IP, but other than that, you can configure QuidProQuo for CGI testing. > >Actually that is not quite correct. You do *not* need to be on line. > >You can run the server, and the browser, and a cgi script all together on >one machine *off-line* using AppleTalk. > > Set MacTCP to "LocalTalk" > Set MacTCP to "Obtain Address Manually" > Set MacTCP IP Address to a dummy number (e.g. 192.168.0.0) > Restart the mchine (unfortunately required by MacTCP) > Open Location with <http://192.168.0.0/myFile.html> (browser) > >Tom Kennedy recently wrote this: > >>FWIW: There is an RFC 1918:Address Allocation for Private Internets that >>recommends IP addresses for such private networks. The short of it is >>that these addresses are reserved for private use. . . >> >> 10.0.0.0 - 10.255.255.255 (10/8 prefix) >> 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) >> 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) >> >>I use 192.168.1.1 for my home testing. At the office, I setup a private >>network using 192.168.1.* for a localtalk network. > >Hope this helps. Have fun! > >Alan Fry Simone EU & DXZone WebMaster 1 EU 001 * 1 SD 234 * 15 KP 472 * 1 NF 066 * WAC 1051 --------------------------------------------------------- European Radio Club DXZone Echo Uniform Free DX Resource http://www.sitcar.com/eu http://www.sitcar.com/dxzone _________________________________________________________ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch