Welcome to WebmasterWorld Guest from 184.108.40.206
But first, I would like to concentrate on how to get the web form to even work. It said something about putting "search.cgi" into my cgi-bin. But when I access search.cgi, it says forbidden.
Oops, can this be moved to "Perl and CGI forums" I thought I was in that category.
"I am trying to install a site search. Actually, it is installed fine, it compiled perfectly. It also works fine (i tested it using commands) Now I need this to work in a browser. I created a symlink to the cgi script as directed, into a folder called "search" in my home website. This file is located here:
Now, the problem is, I can't access this file from a browser. (Note, this file is not corrupted and it does work, just not through http for some reason.) Everytime I type www.example.com/search/swish.cgi, it says "forbidden". In the error log, it said the reason for this is because "option followsymlinks" is not turned on. However, I still can't get this to work even though I added that option into the htaccess file. Perhaps there is something wrong with my htaccess file?
The htaccess file is also located in:
So the problem looks like it is with apache. This is what the htaccess file looks like:
# Deny everything by default
Deny From All
# But allow just CGI script
Allow From All
This is according to the instructions. I followed everything exactly! It doesn't work! Maybe I have to reset apache? If anyone can offer insight, please don't hesitate! This is actually a very good site search which is why I am going through all this trouble in the first place :) Thanks in advance.