Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Switching Between Development and Production Environments

by traveler (Parson)
on Oct 06, 2003 at 22:51 UTC ( [id://297109]=note: print w/replies, xml ) Need Help??


in reply to Switching Between Development and Production Environments

Since you commented above that this was a "web app", you can use the SERVER_SOFTWARE CGI environment variable to discover the server type and/or OS (the latter if you are running, say, Apache on both platforms). You can use that information to decide where to look for a config file, or the datafile itself, presumably.

HTH, --traveler

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://297109]
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:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found