
john-modperl at o-rourke
Sep 15, 2008, 9:34 AM
Post #5 of 5
(513 views)
Permalink
|
Perrin Harkins wrote: > On Mon, Sep 15, 2008 at 7:50 AM, <deepfryed[at]gmail.com> wrote: > >> But I'm lazy and in the past i've used the Include config directive to >> load all vhost or server alias directives in a given subdirectory. >> > See also mod_rewrite and RewriteMap. You can modify the rewrite rules > on the fly without restarting your server. > Thanks for all the advice folks - I'm going to go for "ServerAlias *" in my last VirtualHost, so we can add aliases on the fly with no config changes, because luckily I can restrict new aliases to just one vhost on a given server. I don't want to use the first (default) vhost at the moment because of the way the system is set up. My handler can happily reject or otherwise handle any unrecognised hostnames. cheers John
|