[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGI on a Qube 3
- Subject: RE: [cobalt-users] CGI on a Qube 3
- From: "Paul Alcock" <webmgr@xxxxxxxxxxxxxxxxxx>
- Date: Fri Jun 7 17:14:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> I was under the impression if you had a ScriptAlias it would
> specify where the cgi files were. Mine says they should be put
> in /usr/local/cgi-bin/. I've put them under
> /home/groups/home/web/, /home/groups/home/web/cgi-bin/ and I
> don't know where else but nothing seems to work. Is there some
> other configuration I need, .htaccess, access.conf,?? Is the
> Action parameter correct?
>
> >>> gwaugh@xxxxxxxxxxxxxxxxxxxxxxx 06/06/02 11:21AM >>>
> On Thursday 06 June 2002 12:47 pm, Jack Morash wrote:
> > Here is what I have:
> > The httpd log files indicate the suexec program is enabled - "suEXEC
> > mechanism enabled (wrapper: /usr/sbin/suexec)"
> >
> > Here is what I put in the srm.conf file:
> > ScriptAlias /cgi-bin/ /usr/local/cgi-bin/
> > AddHandler cgi-wrapper .cgi
> > AddHandler cgi-wrapper .pl
> > Action cgi-wrapper /usr/local/cgi-bin/
> >
>
Had a similar situation on raq2's
Our solution was as Gerald said with minor modification.
our Alias line in the srm.conf file reads like this...
Alias /cgi-scripts/ /home/sites/home/web/cgi-scripts/
(Yep, Alias, not ScriptAlias!)
Hope it helps.
Paul