On Thu, Feb  4, 2010, at 08:08:12 PM, Ryan Schmidt <ryandes...@macports.org> 
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.

Dan
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to