https://issues.apache.org/bugzilla/show_bug.cgi?id=40441
--- Comment #4 from Dean Trower <[email protected]> --- Could some additional syntax be implemented for this command? In addition to simply *copying* part of the server name or IP into the document root, it would be useful if you could INSTEAD choose to select between several predefined document roots based on tests applied to the server name. i.e. something like: %1=subdomain1: /webhome/firstsubdomain %1=subdomain2: /otherplace/secondsubdomain default: /webhome/www So the urls "subdomain1.example.com" and "subdomain2.example.com" would map to /webhome/firstsubdomain and /otherplace/secondsubdomain respectively, whilst anything else (e.g. example.com, www.example.com, xyz.example.com) would map to /webhome/www. This would give you the flexibility to give specific subdomains separate document roots in the filesystem, without locking the filesystem directory structure to the domain name. It also ensures that only known, prespecified directories get used as the document root (which might help avoid some security problems if the server's directory structure is set up carelessly). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
