Yes, such option is available in version 0.91 и выше. This is possible due to 4 new directives ProxyServer, ProxyPort, ProxyLogin and ProxyPassword
Probably, you downloaded a UNIX version. It is likely that you need to download a MS Windows version instead.
It is necessary to copy file 'search' (for UNIX systems) or 'search.exe' (for Windows) to '/cgi-bin' directory and give the web-server permissions to execute this file. Further in the text we shall use 'search(.exe)' to define necessary file.
Now, if you try to address '/cgi-bin/search(.exe)' you will get an error message ('index not found' or smth like that).
After indexation procedure you get three or four '*.cns' files. The tree of them are:
- docs.cns
- files.cns
- index.cns
You have to copy them to '/cgi-bin' directory and set read/write permissions allowing web-server to read from and write to the files.
If you address '/cgi-bin/search(.exe)' again, you'll get a message: 'query string not found'.
The error occurs because no search word is given. If you put the request in form of '/cgi-bin/search(.exe)?q=test', a search for the word 'test' will be performed.
You may place the search form on any page of you site. It looks like this:
<form action=/cgi-bin/search> <input type=text name=q value=''> <input type=submit value='Search'> </form>That should be enough for most cases. Please, e-mail us if you have questions.
I had to rename 'search' to 'search.cgi', it wouldn't work the other way.
File 'search' at our Linux-based provider would not start, so we had to assign .cgi extention to it. All is fine, but: when the search results are displayed in two or more pages navigation links at the bottom of pages have 'search' without '.cgi' extension. What can I do about that?
Starting with version 1.3 the file is named 'search.cgi'.
Yes, it is so. Only the frontend should be started in a browser. The indexer and the defragmenter are started in the command line. At the server side it is usually done using 'ssh' protocol.
If you do not have ssh-access the indexer can be run at the local workstation and the received index files uploaded to the server via FTP.