Cgi parameter problemer
Hej alle sammen.Jeg har behov for lidt hjælp. Jeg vil gerne indsætte følgende søgefunktion på min side, men kan ikke rigtigt finde ud af at indsætte paramenterne korrekt.
Dette er stykket som skal tilpasses !
1. Unpack the file on your server. This will create the following
directory structure:
/cgi-script <-- cgiscript.net script directory
/cgi-script/CSSearch <-- CSSearch directory
/cgi-script/CSSearch/images <-- image directory for script.
2. Chmod CSSearch.cgi to executable (chmod 755)
Ask your server administrator for assistance if required.
3. If your perl executable is not located at /usr/bin/perl, edit
the first line of the CSSearch.cgi to reflect the true location.
4. Edit the following variables (descriptions below):
$cgiurl = \'http://www.cgiscript.net/cgi-script/CSSearch/CSSearch.cgi\';
$rooturl = \'http://www.cgiscript.net/\';
$rootpath = \'/www/vhosts/cgiscript.net/\';
$username = \'demo\'; #<-- username to enter management screens.
$password = \'demo\'; #<-- password to enter management screens.
$parsessi=\'0\'; #<-- default \'0\', if set to \'1\' parse Server Side Includes
$cgiurl is the full URL of CSSearch.cgi
$rooturl is the URL of your site (ex. http://www.mycompany.com/).
Make sure you add a trailing forward slash \'/\' to the end of this variable.
$rootpath is the path to your site\'s directory (ex. /home/httpd/html/mycompany/).
Make sure you add a trailing forward slash \'/\' to the end of this variable.
Jeg tror nok at det skal være noget ala dette, men så virker det ikke som det skal :-(
$cgiurl = \'http://www.cgiscript.net/cgi-script/CSSearch/CSSearch.cgi\';
$rooturl = \'http://www.mitside.dk/\';
$rootpath = \'/htdocs/minside.dk/\';
$username = \'demo\'; #<-- username to enter management screens.
$password = \'demo\'; #<-- password to enter management screens.
$parsessi=\'0\'; #<-- default \'0\', if set to \'1\' parse Server Side Includes
Er der en barmhjertig sjæl som ved hvad der går galt ?
Kim
