I got the following line added to the httpd.conf file of Apache Server and
restarted httpd.
ScriptAlias /htsearch /u/amita/.www/cgi-bin/htsearch
But still when I execute it from the web using the search form, I get binary
chunk of data.
Please help.
> -----Original Message-----
> From: Gilles Detillieux [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 10:21 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [htdig] Problem with htsearch.
>
> According to Amit Agarwal:
> > Thanks a ton everyone for all your kind help.
> >
> > The only problem is that I am not the root and so just can't modify the
> > apache settings (or i need to ask an SA to do this) ...
> >
> > Just thinking if there is any other alternative with modifying the
> apache
> > configuration ....
>
> Well, that depends entirely on what the current Apache configuration
> allows you to do. If it's set up not to allow execution of CGI programs
> from anywhere but the designated cgi-bin, and overrides are disabled,
> you may be out of luck - especially if the admin won't cooperate with
> you. However, as FAQ 5.19 mentions, on many systems you can designate
> a file outside of the cgi-bin directory as a CGI program simply by
> making it executable and adding on the suffix ".cgi". That's worth
> a try. Sometimes, this isn't enabled by default, but you're allowed to
> override the default by putting an "Options +ExecCGI" directive and/or
> an "AddHandler cgi-script .cgi" directive in a .htaccess file in the
> directory where you install htsearch.cgi. Failing that, though, I think
> you'll need to get the admin to set up a ScriptAlias'ed directory for you,
> or enable execution.
>
> --
> 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
_______________________________________________
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