******************************************************************************
Step 1 - แก้ไขไฟล์ easysearch.cgi
******************************************************************************
บรรทัดที่ 55
ให้แก้ไขเป็นชื่อของเวบไซต์คุณ
# Change this to the title of your search engine...
# Don't forget to change the title in the head.txt and
# foot.txt files too
$sitetitle ='Your Search Engine Name';
บรรทัดที่ 59 ให้แก้ไขเป็นหน้า index
ของ search
# Change this to the url of your seach engine index page
$searchurl =
'http://iload.hypermart.net/cgi-bin/easysearch/index.html';
บรรทัดที่ 66
ให้แก้ไขเป็นอีเมล์ของคุณ
โดยจะต้องใส่เครื่องหมาย \ นำหน้า
@ ด้วยครับ
# Change this to your e-mail address
# Depending on your version of PERL you may have to escape
# the @ sign like this \@
# At first try just entering your straight e-mail address
$searchemail = 'uload\@i-kool.com';
บรรทัดที่ 76 ให้แก้เป็น path Sendmail
ของคุณ
# You may not need to change the $mailprogram variable.
# Try it as is first. If it doesn't work try putting a # in
# front of the first line below and remove the # on the
# second line. If that fails, try the removing the # on
# the third line and put a # in front of the other two.
# If that fails, ask your administrator where the sendmail
# program is on your system.
$mailprogram = '/usr/sbin/sendmail';
# $mailprogram = '/usr/lib/sendmail';
# $mailprogram = '/usr/bin/sendmail';
บรรทัดที่ 66 URL ของไฟล์ easysearch.cgi
# Change this to the URL of this script
# (include the filename)
$scripturl =
'http://iload.hypermart/cgi-bin/easysearch/easysearch.cgi';
******************************************************************************
Step 2 - วิธีติดตั้ง
******************************************************************************
อัพโหลดไฟล์ทั้งหมดลงใน cgi-bin
ของคุณ แล้ว chmod ตามนี้
easysearch.cgi chmod 755
head.txt chmod 777
foot.txt chmod 777
respond.txt chmod 777
base.txt chmod 777
smut.txt chmod 777
index.html chmod 777 |