You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steve Feehan <sf...@boolecat.com> on 2007/01/03 20:28:57 UTC

[users@httpd] define variable for only one virtual host container

Hi. We're using the apache 2.0.49 package as provided by
SUSE Enterprise 9. Is it possible to define a configuration
parameter (ie. like is specified with -D) to only one virtual
host container?

The reason I ask is that we have a web application that installs
a file in /etc/apache2/conf.d which is surrounded by <IfDefine X>
and we only want "X" to be defined for one virtual host container.

I would prefer not to modify the file in /etc/apache2/conf.d OR
copy/paste it's contents (minus the <IfDefine> block) into the
specific virtual host container (though that is probably the best
I can come up with so far).

Any ideas? Thanks!

-- 
Steve Feehan

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org