Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Running Perl scripts from a single CGI-BIN, on a multiple-virtual hosting server

by mikeB (Friar)
on Oct 02, 2001 at 19:54 UTC ( [id://116161]=note: print w/replies, xml ) Need Help??


in reply to Running Perl scripts from a single CGI-BIN, on a multiple-virtual hosting server

I do something similar. It's currently implemented with IIS/SqlServer, but should work in *nix land as well.

The scripts use the name of the virtual host as an index to a database table which specifies per-site options, including style sheet names, logo graphics, etc. This, combined with the use of HTML::Template, allows customization of look-and-feel, as well as a few functional differences in the various sites, while maintaining a single codebase.

Of course, you have to have a database available...

  • Comment on Re: Running Perl scripts from a single CGI-BIN, on a multiple-virtual hosting server

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://116161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found