Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 ( #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? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2022-01-25 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (66 votes). Check out past polls.

    Notices?