Wap Search Project |
|
|
Installation notesStep 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 Copy:
Step 3: Edit search.pl Change the line : #!/usr/local/bin/perl with the actual path of perl (use command "which perl" if you don't know where perl is) Change the line : $dblocation="/usr/db.txt"; 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. Example: First site <x> game fun party <x> http://wap.aeqeeqe.com/ <x> Site about fun... very funny!! |