You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matt Simonsen <ma...@careercast.com> on 2002/07/09 02:58:27 UTC

SetEnv to apply to all virtual hosts

I'm running httpd 1.3.26. 

I have several virtual hosts- here's the approximate syntax:

SetEnv ENV123 helloMatt
NameVirtualHost *:80

<VirtualHost *:80>
    ServerName server1.com
</VirtualHost>

<VirtualHost *:80>
    ServerName server2.com
    CustomLog /var/log/httpd/sdut common
</VirtualHost>

It works great, that is, unless I goto server2.com. Is there a way to
force this to be inherited to all the virtual hosts?

Thanks
Matt



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org