According to Sabyasachi Mitra:
> I am flummoxed at a particular problem. I would really appreciate if you
> could provide me with help.
> But first a brief introduction. We have two internet properties, viz
> www.check4health.com and www.indiancanvas.com . Part of it is hosted in
> PAIR.com in USA. We wrote to PAIR but they are unable to help us.
> We are trying to install htdig on our website. The dtails is as follows:
>
> > We have installed htdig in our directory. We have made all necessary
> > changes in the htdig.conf file after installation and from the unix
> > prompt we have run ./rundig to produce the relevant database. Now we
> > have also seen the output of our search query using ./htsearch as
> > perfectly showing the output result as required. So thats the brief of
> > what we have done.
> >
> > So, where is the problem ?
> >
> > The problem lies in integrating the php3 output format to show the
> > results. It seems to not access the htdig.sh file. It is giving an
> > output when run from the unix prompt of the relevant directory as
> > follows :
> >
> > medsite@athani% ./htdig.sh
> > ./htdig.sh: /usr/www/users/medsite/cgi-bin: permission denied
> > htsearch: not found
> >
> >
> > But, I have given all permissions to my /usr/www/users/medsite/cgi-bin
> > directory as well as all the files like htsearch and htdig.sh.
> > Still it is saying permission denied.
> >
> > What we need to know ?
> >
> > Is there a problem regarding the .sh file or what ?????
First of all, before attempting to interface PHP to htsearch, you should
read Colin Viebrock's article on the subject:
http://www.devshed.com/Server_Side/PHP/search/
Secondly, if you're getting permission denied errors, you should look at
the permissions on all of your CGI programs and script files, as well as
all directories leading up to them, i.e. /usr, /usr/www, /usr/www/users,
and so on. They should all be readable and executable by the user ID
under which your web server runs, as well as by any user ID you use for
testing.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
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 htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.