Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

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


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

If you are going to have separate files for each of the servers, then why not store them within each virtual server's document space? That way the CGI script could contain a line like:

require "$ENV{DOCUMENT_ROOT}/config.pl";

and would pick up a different file when run from each server.

Blessed Be
The Pixel

Log In?
Username:
Password:

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

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

    No recent polls found