According to Daniel WELLS:
> I have installed ht://Dig and it tests fine on the command line.
> Unfortunately, I am unable to get it to perform through a browser.
> From what I read and surmised, it is an Apache configuration problem on
> my part, but I am unsure how to address it.  I am running Apache 1.3.20
> on a RH 7.2 box.  Apacheconf 0.8.1-1 was used to configure several
> virtual servers.  Each virtual server was set to allow CGI (ExecCGI)
> but I get a message that the "URL /cgi-bin/htsearch/ was not found".
> I tried setting up a ".htaccess" file in my "search" virtual server
> folders allowing CGI to run (I think?)
> 
> <Directory /opt/www/cgi-bin/>
>       AllowOverride Options
>       Options +ExecCGI
> </directory>
> 
> This hasn't worked either.  I am beginning to think that I'm going to
> have to bite the bullet and forego apacheconf altogether and manually
> edit the "httpd.conf" file.

You need to add a ScriptAlias directive for the cgi-bin directory.
(See http://www.htdig.org/FAQ.html#q5.19)

E.g.:

ScriptAlias /cgi-bin "/opt/www/cgi-bin"
<Directory /opt/www/cgi-bin/>
        AllowOverride Options
        Options +ExecCGI
</Directory>

I'm not familiar with apacheconf, but I'd imagine there's a way of doing
this in there.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
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