Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-06 Thread Igor Galić
- "FROIDURE Nicolas" wrote: > Hi, > > Thanks for the tip. It seems to be a better solution for me : In > Debian it seems that each virtualhosts are confined on a single file > and > included with the Include directive (with a path having a wildcard) on > the main configuration file.

Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-06 Thread FROIDURE Nicolas
Hi, Thanks for the tip. It seems to be a better solution for me : In Debian it seems that each virtualhosts are confined on a single file and included with the Include directive (with a path having a wildcard) on the main configuration file. In my first dedicated server,

Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-06 Thread Mark Montague
You can also do what you want outside of Apache HTTP Server: write a script that generates httpd.conf from one or more input files, and run this script (manually or automatically) before starting httpd. You can use M4, CPP, Perl, or many other tools to generate the configuration file, depend

Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-06 Thread FROIDURE Nicolas
I want to stay on a "universal" Apache config. Now I know it's impossible without enabling a specific module. I'll deal with this restriction anyway. Thank you Jorge. Le 05/12/2010 14:11, Jorge Schrauwen a écrit : You may want to look at mod_macro, or mod_perl if you want really c

Re: [us...@httpd] Multi-level virtualhost inherit

2010-12-05 Thread Jorge Schrauwen
You may want to look at mod_macro, or mod_perl if you want really complex setups. ~Jorge On Sun, Dec 5, 2010 at 12:28 PM, Nicolas Froidure wrote: >             Hello! > >     Are there a way to make mutlti-level virtualhosts ? > >     I've many virtualhosts on my httpd.conf file. There are 3

[us...@httpd] Multi-level virtualhost inherit

2010-12-05 Thread Nicolas Froidure
Hello! Are there a way to make mutlti-level virtualhosts ? I've many virtualhosts on my httpd.conf file. There are 3 "classes" of virtual hosts (static content, dynamic content with rewrite rules, others). I would like to be able to define more than one base virtualhost