[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Shared CGI-BIN - solved
- Subject: Re: [cobalt-users] Shared CGI-BIN - solved
- From: baltimoremd@xxxxxxxxxxxxxxx
- Date: Mon Jan 29 13:38:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 29 Jan 2001, Kul wrote:
> In your **httpd.conf** file, add the following line, then create directory "cgi-pub" (use whatever you like) in the home site (could actually be any, but home is probably best). Make sure it **IS** in the "web" directory or cgi-wrapper will go bananas and stop it working! Ensure you create the "cgi-pub" directory NOT as root or you can't upload the scripts (as I did - Dohh) then ensure its chmod'ed correctly (see example below) (and its containing scripts) - I found the admin user the best one to use as the owner of the "cgi-pub" directory.
>
> ScriptAlias /cgi-pub/ /home/sites/home/web/cgi-pub/
Works like a charm on the RaQ4 ....
used this kind of reference in the .shtml page
<!--#exec cgi="/cgi-pub/redneck.pl"-->
How someever...will the addition I made to the httpd.conf get overwritten
by the everpowerfull Cobalt script that adds sites?
If so, is there a way to have an include file? I'd rather not mess with
the cgi that creates that file.
Oh, it's no big deal, but you can see it work at
http://www.baltimorehon.com/shareme.shtml
thom
././././././././././././././././././././././././././././././././././././././
baltimoremd@xxxxxxxxxxxxxxx Thom LaCosta K3HRN Webmaster
http://www.baltimoremd.com/ Baltimore's Home Page
http://www.baltimorehon.com/ Home of the Baltimore Lexicon
http://www.zerobeat.net Home of The QRP Web Ring
and Drake Mail List Pages