[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: [cobalt-users] global cgi-bin for all domains



This is a tips I got from http://www.raqzone.com/

==
Creating Global CGI Bin

Most of us want to be able to provide a form process, counter, guestbook,
things of that nature for our clients to use.  But we don't want each client
to have to setup and configure these themselves.  So we create a global
cgi-bin....

This will make it so that any domain on the server calling up /cgi-pub/ will
be redirected to /home/sites/home/web/cgi-pub/.  So lets say client with
client1.com want's to submit things to formmail (which I have configured and
placed in /home/sites/home/web/cgi-pub/), they would submit forms to
http://client1.com/cgi-pub/FormMail.pl

1.  Login as ADMIN, but do not switch to root yet

2.  mkdir /home/sites/home/web/cgi-pub/

3.  chmod 755 /home/sites/home/web/cgi-pub/

4.  su - (login as root)

5.  pico /etc/httpd/conf/httpd.conf

6.  Add the following line anywhere in the file:

    ScriptAlias /cgi-pub/ /home/sites/home/web/cgi-pub/

7. Type:

  /etc/rc.d/init.d/httpd restart

8.  Now your ready to go, make sure that you upload to
/home/sites/home/web/cgi-pub/ when your logged in as ADMIN.

> -----Ursprungligt meddelande-----
> Från: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]För Clayton Winter
> Skickat: den 1 maj 2001 11:30
> Till: cobalt-users@xxxxxxxxxxxxxxx
> Ämne: [cobalt-users] global cgi-bin for all domains
>
>
>
> I have a RaQ 4 and am a newbie to their configs.
>
> Where is the global cgi-bin where I can put formmail cgi for all
> domains?
>
> Do I edit the access.conf or http.conf ?
>
> I have searched the news archive.
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>