On Feb 4, 2010, at 20:01, Dan Poirier wrote: > On Thu, Feb 4, 2010, at 08:08:12 PM, Ryan Schmidt wrote: > >> I tried something similar, but I could not find a way to then use that >> $HOME variable (or any variable) in the Include statement. I don't >> think the Apache configuration file syntax supports variable >> expansion. > > It's supposed to work, though it only got documented recently: > <http://httpd.apache.org/docs/2.2/configuring.html>. Apache 2.2.14, > right? > > ${ENVVAR} is the syntax. Let me try it... yes, if I put this in my > httpd.conf: > > ServerAdmin ${us...@example.com > > I get my username in error documents. It seems to work for ${PATH} too.
Ok, I see that, but I cannot get it to work for environment variables I have set myself with SetEnv MYVAR myvalue _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users