Wap Search Project


Installation notes

Step 1: configure apache
If your apache is not configured as "wap server" add this lines to httpd.conf file:
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc

If you haven't access to this file, ask to your server administrator.

Step 2: Copy files and chmod
  • index.wml in a sub-directory of htdocs folder
  • search.pl in the cgi-bin directory of apache
  • DB.TXT everywhere you want
Chmod search.pl to 755

Step 3: Edit search.pl
Change the line :
with the actual path of perl (use command "which perl" if you don't know where perl is)
Change the line :
with the actual path in which you put the db.txt; remember that the name of db.txt is case senitive!

Step 4: Edit the database (db.txt)
In the dataabse, each line is a site. Each site is composed (in this order) by :
TITLE - keywords - URL - Description.
Elements are divided by the "x" tag.
First site <x> game fun party <x> http://wap.aeqeeqe.com/ <x> Site about fun... very funny!!