Re: [htdig] htsearch won't execute. How do I....


Subject: Re: [htdig] htsearch won't execute. How do I....
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri May 12 2000 - 13:42:04 PDT


According to James McLaughlin:
> Ok here is the lay out of the CGI-BIN on my box
> >>drwxr-xr-x 2 root root 4096 May 12 10:01 ./
> >>drwxr-xr-x 7 root root 4096 May 9 11:04 ../
> >>-rwxr-xr-x 1 root root 404568 Mar 22 19:19 htsearch*
...
> The requested URL /cgi-bin/htsearch was not found on this server.
>
> What other files could have an effect on this..or do I need to change
> permissions in my cgi-bin dir. If so...could someone give me an example of
> what it should look like.

If your web server is Apache, you need to designate your cgi-bin as a CGI
executable directory using a ScriptAlias directive, e.g.:

        ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/

in your srm.conf file. For other types of web servers, you need to figure
out the equivalent setup of CGI scripts or folders.

See also http://www.htdig.org/FAQ.html#q5.19

> Like #chmod 700 htsearch or what?

No, that would turn OFF execute and read permission for all but root.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri May 12 2000 - 11:29:51 PDT