httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@onlyforfun.net>
Subject Re: [users@httpd] is there any include or reference mechanism in apache to store common entries somewhere and include them in virtualhost
Date Fri, 22 Aug 2008 06:28:53 GMT
likai wrote:
> Hi,
> 
> Right now, in my httpd.conf I have two sets of virtualhosts for two
> IPs. I just made a copy of the first one and change the IP to
> another. By doing this, I created a lot of duplicated entries. It may
> cause apache to load a lot of duplicated entries. And sometimes it
> cannot promise that the contents are the same with the two sets of
> virtualhosts.
> 
> 
> So is there any include or reference mechanism in apache?

You can include a configuration file into another, but what difference
does it make? The resulting config file will still have the same
complexity and changing in one place means that you can potentially
screw up something else in another place.

Davide

-- 
Windows isn't CrippleWare -- it's "Functionally Challenged".

---------------------------------------------------------------------
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


Mime
View raw message