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

Re: [MacPerl-WebCGI] help



>Hi
>
>I am new to this mailing list.  Besides I am just a beginner and trying
>to develop CGI Perl program which I would like to test on a server.
>
>I have down loaded quid Pro 1.0.2 and trying to configure the server
>on my 68 k mac to test my perl scripts.  Last time I could easily
>load the scripts on the server and point the netscape browser to
>call and process the page.  But since my hard disk crashed I lost
>the quid pro, and I do not know which version it was.
>
>I used the TCP/IP to connect to the internet and change the IP
>address to  something like 1.1.1.1 and saved the configuration.
>Now I started the server and easily uploaded the pages.
>
>Can anyone please help me to configure the server to test my
>cgi perl pages.
>
>regards
>
>Amitava


Hi Amitava,

first, I recommend that you upgrade to the FREE  2.1.3 version of 
Quid Pro Quo (if your Mac is able to run it -- see the Systems 
Requirements note). The QPQ 1.0.2 version is still available, thought.

ftp://ftp.socialeng.com/pub/qpq/qpq2.1.3.bin   (~ 2 MB)

 From the Quid Pro Quo 2.1.3 Release Notes document:

"System Requirements

Quid Pro Quo 2.0 works on any 68K or Power Macintosh running System 
7.5 or later. The Quid Pro Quo application requires at least 3.5 MB 
of RAM to run. System 7.1 is supported, so long as Apple's Thread 
Manager extension is installed."

I also recommend that you get the latest Open Transport version that 
is able to run on a 68K Mac.

Before using the QPQ server on your Mac, you need to configure your 
TCP/IP settings to an offline config. The configuration is quite easy:

1. Open the TCP/IP control panel.
2. Choose 'Configurations...' (apple-K) from the File menu.
3. Duplicate a configuration and give it the name 
'QuidProQuo-offline' for example.
4. Choose this newly created configuration to make it the current one.
5. Either choose AppleTalk (MacIP) or Ethernet in the 'Connect via' 
pop-up menu.
5a. AppleTalk (must be activated):
       Choose 'Using MacIP Manually'  in the 'Configure' pop-up menu.
       Assign the IP-Address: 192.168.0.1 will work.
5b. Ethernet
       Choose 'Manually' in the 'Configure' pop-up menu.
       Assign the IP-Address: 192.168.0.1 will work.
       A sub-mask will automatically be added, so there is no need to 
assign one.
6. In the 'Options...' Dialog, make sure TCP/IP is active and uncheck 
the 'Load only when needed' check-box.
7. Quit the TCP/IP control panel and save the configuration.

You may want to use a Hosts File. Instead of typing the IP-Address 
192.168.0.1 every time you want to access something through your 
browser, you'll be able to use a human friendly domain name, for 
example
http://www.MyMacAtHome.com/. Use a text editor and copy the following 
line to it (exactly as shown):

www.MyMacAtHome.com 	A  	192.168.0.1

Save this file as 'QPQ.hostfile' for example.  In the TCP/IP control 
panel, assign this file as your Hosts File.


Configuring QPQ is also easy. Just change the 'Root Folder' (Server 
settings...) to the one you like and leave all the other 
default-values as they are. Fine-tuning may be done in the future. 
The root folder will be the one in which you have to put your MacPerl 
CGI scripts (it may contain subfolders). In MacPerl, be sure to save 
your scripts as 'CGI Script'; a plain text file won't work as a CGI.

Please note: QPQ may crash and destroy its preference file if you 
start the server _before_ changing your TCP/IP configuration to the 
offline config (worst case: reinstall QPQ). First change your TCP/IP 
configuration, then start QPQ!


Hope that helps.

Best regards

-Thomas (glad to see the lists back online)

--
Murphy's Law
+++ Things are more complex than they seem to be. +++ Things take 
longer than expected. +++ Things cost more than expected. +++ If 
something can go wrong it will. [Hughes, Michton 1977]






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