Re: Defining specific vars in conf for a shared script

2004-04-19 Thread Tom Schindl
Why are you not using config files and only set the path to this file like this. PerlSetVar my_cnf /etc/vhostconfs/80.cnf PerlSetVar my_cnf /etc/vhostconfs/81.cnf 80.cnf -8<- HTML_TEMPLATE_ROOT = "/websites/80/templates" ->8- You could read the config-file when

Re: Defining specific vars in conf for a shared script

2004-04-19 Thread Chris Faust
: Sunday, April 18, 2004 1:23 PM Subject: Re: Defining specific vars in conf for a shared script > > > Chris Faust wrote: > > That helps Tom, I wasn't even sure if it was "PerlSetVar" that I needed to > > do. > > > > Beyond that, how do I get that fro

Re: Defining specific vars in conf for a shared script

2004-04-18 Thread Geoffrey Young
Chris Faust wrote: > That helps Tom, I wasn't even sure if it was "PerlSetVar" that I needed to > do. > > Beyond that, how do I get that from within script? If I'm going to use > something in my script to read in the conf file then how do I know which > config file I want? > > Using your exampl

Re: Defining specific vars in conf for a shared script

2004-04-18 Thread Chris Faust
le is there some "$r->get_vhost_settings{'HTML_TEMPLATE_ROOT'}" to get that value? Thanks -Chris - Original Message - From: "Tom Schindl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 18, 2004 10:36 AM Subject: Re: Defining specific vars in co

Re: Defining specific vars in conf for a shared script

2004-04-18 Thread Tom Schindl
Why are you not using config files and only set the path to this file like this. PerlSetVar my_cnf /etc/vhostconfs/80.cnf PerlSetVar my_cnf /etc/vhostconfs/81.cnf 80.cnf -8<- HTML_TEMPLATE_ROOT = "/websites/80/templates" ->8- You could read the config-file when y

Defining specific vars in conf for a shared script

2004-04-18 Thread Chris Faust
Hello,   I'm having a hard time figuring out a approach to what I thought would be a simple thing, but after reading a bit through the docs I'm more confused now and was hoping to get some advise.   What I want to do is have a single mp2 script service multiple virtual hosts, in order to do