RE: New Commodo(R/r)ing

From: Marko Mäkelä (
Date: 2001-04-11 08:24:11

On Tue, 10 Apr 2001, Professor Dredd wrote:

> CGI script, I believe, is the answer. I think that's
> how most rings do it anyway.

I think so too.  There must be some server-side intelligence to handle the
job.  Nothing fancy; a single Perl script could perhaps do the job.

> Every site is assigned an ID and everysite contains a
> similar HTML snippet (or sometimes Javascript). The
> snippet contains the forward/backward pics as well as
> the site's ID.

The HTML snippets on the sites need not have unique IDs if the program on
the CommodoRing server recognizes the Referer header.  If the contents of
the Referer header matches with one of the stored patterns in the database
(which may be as simple as one line of text for each site, embedded in the
Perl script), then the script sends a 302 Moved Temporarily reply with
another URL.  There could be a default redirect URL for those cases when
the Referer address is not recognized.  Or the script could simply list
all the member URLs in that case.


This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail

Archive generated by hypermail 2.1.1.