Link to home
Start Free TrialLog in
Avatar of cssc1
cssc1Flag for United States of America

asked on

CGI Script

QUESTION: Why dosen't the cgi script work?

DETAILS: I can't get the following script to work:

http://www.csscsystems.com/cgi-bin/env.pl 

This is a standard test script that should bring up all the paths from the root of the server.

CGI Timeout
___________________
www.http://cyber-robotics.com

_____________________
What I am trying to do is get the search script for ZEUS to run:
Zeus CGI zSearch  -  "This Perl CGI script turns Zeus into a complete search engine. When this script is installed, your link directory visitors will be able to search for any topic of interest within your Zeus directory.

Installing the zSearch CGI

Requirements:

Perl: 5.004_02 or later must be installed on your server. The script will probably run on older versions of Perl.

You must have access to a cgi-bin on your website's server.

You should have prior knowledge of CGI script installation to install the script yourself.

z_search.cgi Script Installation instructions:

1. Download the script zip file.

2. Unzip to any directory on your computer's hard drive.

3. Edit z_search.cgi's first line to reflect the path to Perl on your server. If you have a working cgi script in your cgi-bin then you can get this information from the top line.

examples are:
#!/usr/bin/perl
#!/usr/bin/perl5
#!/usr/local/bin/perl
#!/usr/bin/local/perl

4. Follow the instructions at the top of the cgi script and edit variables, paths and related information.

5. Upload the cgi script to your website's cgi-bin directory, using FTP. IMPORTANT: You MUST upload using ASCII mode NOT BINARY.

6. Set the cgi script file permission to CHMOD 755



search.htm HTML Page installation:

1.) Change the Form Action line, located in the html code, to point to the CGI script newly installed in your cgi-bin. Example:
<form action="http://www.yourwebsite.com/cgi-bin/z_search.cgi" method="POST">

2.) Install the lines of HTML code located between the <CENTER> tags in search.htm, to your Zeus Header, Footer, or PRO  Template file. This will put the search entry box, All or ANY selector and the Submit button on your Link Directory page(s). This HTML code may also be installed anywhere on your  website
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cssc1

ASKER

How do I get to binary mode?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cssc1

ASKER

Finished