RE: slightly OT - defining variables in httpd.conf for use in httpd.conf
[prev]
[thread]
[next]
[Date index for 2005/04/07]
mod_define!
Thats the one....
I can't believe I didn't find a link to in when
searching google for
'dynamic variables httpd.conf'
Ah well....
Thanks for that,
regards
Marty
--- "Reed, Jonathan" <JReed@xxx.xxx> wrote:
> We set them in Section 2 of the httpd.conf after the
> DocumentRoot like this:
>
> SetEnv ORACLE_HOME "/opt/home/oracle/product/8.1.7"
>
> -Jon Reed
>
>
> -----Original Message-----
> From: David Wright [mailto:dave@xxxx.xxx]
> Sent: Thursday, April 07, 2005 10:08 AM
> To: modperl
> Subject: Re: slightly OT - defining variables in
> httpd.conf for use in
> httpd.conf
>
>
> > I know I've seen this done before, but I'd like to
> > define a variable at the top of my httpd.conf
> file,
> > and then use it many times throughout the conf
> file...
> >
> > e.g.
> >
> > define Server='fred'
> >
> > DocumentRoot /usr/local/${server}
> >
> > I just can't find any info on this... Can anybopdy
> > point me at the right place..
>
> mod_macro or mod_define look like they might be
> useful to you:
>
> http://www.cri.ensmp.fr/~coelho/mod_macro/
> http://www.lpi.msk.su/mod/mod_define.html
>
>
> cheers,
> dave
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
 |
 |
RE: slightly OT - defining variables in httpd.conf for use in httpd.conf
Martin Moss 15:09 on 07 Apr 2005
|