[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Shared CGI-BIN
- Subject: RE: [cobalt-users] Shared CGI-BIN
- From: "Eric Arseneau" <eric@xxxxxxxxxxxxxx>
- Date: Sun Jan 28 20:30:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I'd like to make available some cgi scripts to all users on a RaQ4 from
> a shared area. Search of the archives hasn't lead to much more that I
> think it can be done.
>
> Would be interested in a solution that someone has done and/or knows
> can be done.
I remember seeing how to do it somewhere, but I don't remember exactly what
you had to do.
But here is a solution. I put some cgi's on one of my domains. I can use
these cgi's from any other domain by referencing the domain where the cgi's
are. It will have to do a DNS lookup, but it will resolve locally so its
not too bad. Here some info on what I mean.
I have setup a counter cgi on cgidomain (the counter is from
http://www.chami.com/counter/classic/)
www.domain1.com/cgi-bin/livecntr.pl
On any other domain all I have to do to use the counter is
<center>
<!-- begin: LiveCounter Classic CGI counter -->
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?0+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?1+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?2+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?3+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?4+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<IMG SRC="http://www.cgidomain.com/cgi-bin/livecntr.pl?5+6+domain1"
WIDTH=15 HEIGHT=20 ALT="">
<!-- end: LiveCounter Classic CGI counter -->
</center>
There may be a better way, but this worked fine for me so I'm happy. It
also gives me a counter setup for all my sites, so I'm even happier.