View Full Version : site search script
hallo
ich hab dieses sitesearch script in meinen cgi-bin ordner hochgeladen (in ASCII mode)
aber wenn ich die adresse zu dieser cgi datei angebe kommt nichts..
ich hab die datei schon editiert und ganz am anfang steht auch der pfad #!/usr/bin/perl
weiss nicht wo das problem ist , kann mir jemand helfen danke
dswimboy
07-23-2004, 06:04 PM
you'll get more help if you can ask your question in english. see if you have a friend that could help you translate.
i have a sitesearch script called index.cgi, and i have uploaded it to my cgi-bin directory in my webserver (with ASCII modus)
i have edited the file as explained in reame
but when i want to call the file in my browser with its address
it comes nothing and i cant go ahead with installation
thanks for any help
this is a part of this search script file
#!/usr/bin/perl
###############################################################################
#
# IC-SiteSearch 1.7
#
# Program name: IC-SiteSearch
# Program version: 1.7
# Program name defined: 'Internet Coders Site Search' version 1.7
# Program purpose: Providing a way for customers to search your website.
#
#
# Written by: shawn@internetcoders.com
# Downloaded at: www.internetcoders.com
# Date released: 05/27/2002
# Last modified: never
#
# System requirements: Linux,Perl
#
# Liability: InternetCoders.com and or all individuals of InternetCoders.com
# are in no way liable for anything that this program may do while
# in use modified/unmodified. You the person choosing to run this
# program take full responsibilites for this code and everything
# it does. It's simple, you don't want to take responsibility for
# this code, then don't use it
#
# Support: If you have any questions about this program please refer to
# the documentation/instructions that came with the program. Since
# this program was free there is no e-mail or phone support. However
# support is available if you pay for it, or if you pay for cusomizations.
# To pay for support or cusomizations please visit our website at
# http://www.internetcoders.com
#
# Distribution: Since you did not write this code, you are not allowed to distribute
# it modified or unmodified. If you want someone to have this code then
# tell them to download it from InternetCoders.com, if it is
# not on the InternetCoders.com website at that time then that
# person is out of luck and will not be able to download it until
# we post it again, unless you get permission from InternetCoders.com
#
# Modifications: You are allowed to fully modify any of this code you like. Please
# refer to the Distribution section above before giving away copies
# of this code whether modified or unmodified.
#
###############################################################################
###############################################################################
# PROGRAM VARIABLES TO CONFIGURE BELOW
###############################################################################
#This should be the directory/path that you would like to have this program search.
#Put the exact path starting with the root directory /.
#Be sure to add a / at the end or else the program will not display the found
#results from the search properly.
$searchDirectory = '/home/www/webxx/html/';
#This should point to the same directory as above only as it would be typed in a
#web browser as a url. Point this url to the same directory that is being searched.
#This will be used to create a link to the pages being displayed by the search results.
#Be sure to add the trailing / at the end or else you the program will not display the found
#results from the search. Be sure to add a / at the end.
$hyperLink = 'http://www.mydomain.com/';
Afrow UK
07-23-2004, 11:20 PM
Have you bothered to change the variable values like it says???
Have you checked that your webserver has CGI script support? And if so, have you CHMOD'd the script 755?
-Stu
yes i have chmod it 755
and changed the variables $searchDirectory
and $hyperLink
to my settings
and the server supports cgi
but it doesnt work
Afrow UK
07-27-2004, 05:57 PM
yes i have chmod it 755
and changed the variables $searchDirectory
and $hyperLink
to my settings
and the server supports cgi
but it doesnt work
When you say it doesn't work... could you be a bit more descriptive?
Does it come up with 'Internet server error' or does it just prompt you to download the CGI rather than execute it?
-Stu
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.