View previous topic :: View next topic |
Author |
Message |
antwonw -
Joined: 18 Apr 2005 Posts: 3
|
Posted: Mon Apr 18, 2005 5:00 am Post subject: CGI Search Problem!!!!!! |
|
|
Hey I just upgraded from the last version of Abyss Web Server and I used my /host dir/cgi-bin/ to put my cgi files. But now I understand this has something buolt in it. Well to do .cgi files but I was using a cgi search engine for my web site http://www.analogx.com/contents/download/network/cgisrch.htm and now it won't work. It was excuting an exe file not a cgi. So can someone help me. If you don't know what am talking about can you look at the file its self be getting it from the Analogx's web site (like to file up above) Thank you so very much for the help. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Apr 18, 2005 6:43 am Post subject: |
|
|
CGISearch is a unique CGI Executable , you have to edit a few files before you
can use this script , first of all this script is expected to run in the cgi-bin but I
recommend the htdocs since Abyss supports pattern matching.
Step One:
Unzip cgisrch.zip in your htdocs to a folder called search then edit search.htm
and change "/cgi-bin/cgisrch.exe" to "cgisrch.exe" but your not done yet. You
have one last file to edit before you can configure Abyss Web Server.
Step Two:
Edit the config.txt file and change it to your desired settings , only html files
will be searched unless you add new extensions to the list to search. Here's
an example of settings you will have to put in order for it to work.
Config.txt file [search/srchdata]
Quote: |
BASEURL http://your-site/
FILESPEC .htm
FILESPEC .html
SEARCHPATH C:/Program Files/Abyss Web Server/htdocs/
SKIPLIST skiplist.txt
EXCLUDEPATH \cgi-bin\
EXCLUDEPATH \errors\
|
Step Three:
After you edit those 2 files we will now configure Abyss Web Server to run the
CGI Search script , open your Abyss console and click on Configure button for
the host you would like to edit and then click on Scripting Parameters.
Add a Script path for /search/srchcgi.exe and then restart.
Note: Rename search.htm to index.html so you can have a really nice path
such as http://www.your-site.com/search/ , see Abyss does alot of stuff. :-) |
|
Back to top |
|
 |
antwonw -
Joined: 18 Apr 2005 Posts: 3
|
Posted: Mon Apr 18, 2005 11:52 am Post subject: |
|
|
Hey thankx TRUSTpunk. I had everything correct except the /search/cgisrch.exe in the Scripting Parameters :: Script Paths once i did that and moved my files from /cgi-bin/ to /search/ folder everything work great!! Thankx. Oh and to everybody else out there who might read this that search engine is the best. Download it here http://www.analogx.com/contents/download/network/cgisrch.htm |
|
Back to top |
|
 |
|