((--Additional Info:--))

1. This htdig was installed from the RPM's on Mandrake Linux 8.1.

2. I can't find anywhere that COMMON_DIR is defined.  Should this be
set at boot-up so that when Apache calls htsearch?  If COMMON_DIR
should be set during boot up, where do most of you set it?

I have looked at the thread including
http://www.htdig.org/mail/1998/12/0299.html.

Even after looking at the archives for help with this problem, I still
receive this message:

Forbidden
You don't have permission to access /cgi-bin/htsearch on this server.

Apache-AdvancedExtranetServer/1.3.20 Server at 192.168.0.2 Port 80


Notes:

1. htsearch is in /var/www/cgi-bin and points to /usr/bin/htsearch.

2. I am able to run other cgi's in /var/www/cgi-bin, they have the SAME
PERMISSIONS as htsearch:

ls -l /usr/bin/htsearch
-rwxr-xr-x    1 root     root        85844 Aug 29 15:48
/usr/bin/htsearch*

ls -l /var/www/cgi-bin/
total 216
-rwxr-xr-x    1 apache   apache        169 Jan 22 16:50 cgitest.sh*
lrwxrwxrwx    1 apache   apache         17 Dec 17 15:03 htsearch ->
/usr/bin/htsearch*
-rwxr-xr-x    1 apache   apache        268 Aug 24 10:00 printenv*
-rwxr-xr-x    1 apache   apache        777 Jan 22 17:16 test-cgi*
-rwxr-xr-x    1 apache   apache     204255 Sep 16 04:14 wwsympa.fcgi* 


3. Here is the version info:

/var/www/cgi-bin/htsearch --version
/var/www/cgi-bin/htsearch: invalid option -- -
usage: htsearch [-v][-d][-c configfile] [query_string]
This program is part of ht://Dig 3.2.0b4-072201


4. Here is the listing of the database directory:

ls -ld /var/lib/htdig/
drwxr-xr-x    2 htdig    htdig        4096 Jan 22 20:00 /var/lib/htdig/

5. Here is the listing of the databases:

ls -l /var/lib/htdig
total 84
-rw-r--r--    1 root     root        24576 Jan 22 20:00 db.docdb
-rw-r--r--    1 root     root        24576 Jan 22 20:00 db.docs.index
-rw-r--r--    1 root     root        24576 Jan 22 20:00 db.excerpts
-rw-r--r--    1 root     root         2048 Jan 22 20:00 db.words.db
-rw-r--r--    1 root     root        16384 Jan 22 20:00
db.words.db_weakcmpr

Ideas, folks?  Why would other cgi's with the same permissions run, and
htsearch fail with 403 Forbidden???

====Keith

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to