Webii.net Logo
Web Hosting E-commerce Domain Name Registration Design and Development Dedicated Servers
Support
The help you need... Right now!

 

Technical FAQ

Search Engine Installation

Webii makes adding a search engine to your web site an easy process. All you need to do is code a few html tags in your page that will call the search engine. The author of this script includes his notes at the following url: http://www.ufbs.co.uk/jason/perl/jasearch.html

For example:

Search match terms.

The code required for the above form is:
<FORM METHOD="POST" ACTION="/cgi-bin/jasearch.pl">
<INPUT TYPE="hidden" NAME="base" VALUE="/sites/webii.net/htdocs">
<INPUT TYPE="hidden" NAME="rbase" VALUE="http://www.webii.net">
<INPUT TYPE="hidden" NAME="bgcolor" VALUE="#E2E2E2">
Search for <INPUT TYPE="TEXT" NAME="sv" VALUE=""> and match
<SELECT NAME="type">
<OPTION VALUE="all" SELECTED> all
<OPTION VALUE="any"> any
</SELECT> terms.
<INPUT TYPE="SUBMIT" VALUE="Search">
<INPUT TYPE="RESET" VALUE="Clear">
</FORM>

Where

  • base is the complete path to the directory you want to search relative to the web server. Note: /sites/yourdomain.com/htdocs (your domain should NOT included www. prefix)
  • rbase is the URL of the directory you want to search.
    For example:  http://www.webii.net
  • sv is the list of search values
  • type describes the type of search it is either "all" or "any" terms.

You can also include the following fields:

  • background sets the background image
    For example: <INPUT TYPE="hidden" NAME="background" VALUE="/inline/hotelb.gif">
  • bgcolor sets the background color
  • text sets the text color
  • link sets the color of unvisited links
  • alink sets the color of the active link
  • vlink sets the color of visited links

If you want to restrict searches to specific directories you can include:

<INPUT TYPE="HIDDEN" NAME="dirs" VALUE="/dir1;/dir2;/dir3">

This will only search the directories that are listed in value.

Please note:
*.Each directory needs to start with /
*.Each directory is separated by ;

If you wish to search within your htdocs directory, type a / (slash) only. Do not type /htdocs, as the slash will already place you within the htdocs directory.

Since Webii did not write this script, we are unable to troubleshoot or customize it. If you have specific questions about the script, please consult the author:
http://www.ufbs.co.uk/jason/perl/jasearch.html


Back to Technical FAQ


Copyright (C) Webii.net / WebXess, Inc. Est. 1996.