[LUAU] mod_rewrite
Paul
luau at cyber-addict.com
Sun May 23 14:10:15 PDT 2004
I am doing web hosting with Apache, and currently using <VirtualHost
x.x.x.x> directives to setup each user. This was used because each
user has a different configuration (for instance, mod_throttle
settings). I allow my users access to a control panel that allows
domains configured as "pointers" to be added, as well as other domains
they wish to host. The control panel then in turn executes Perl
scripts to change the configuration of Apache and restart it.
The <VirtualHost> directive is a pain since I have to restart Apache
every time there is a change. I would like an option to do
reconfiguration dynamically and prevent restarts. I have also heard
that too man <VirtualHost> entries begin to really slow Apache down, at
least in its starts and stops.
Mod_Rewrite seems like a really good option, but I fail to see a way to
pass unique directives to each virtual host. In particular, not all
users have the same mod_throttle and suexec settings. One option I
thought of was to use .htaccess files, but again I have run across
warnings of massive performance hits when using lots of these files.
Has anyone found a way to use the complicated mod_rewrite to not only
dynamically find the document root, but to also change unique
directives like ThrottlePolicy? Perhaps use of multiple vhost.map
files?
Or has anyone found a different way to dynamically add or delete
virtual hosts without having to restart Apache?
Thanks,
Paul
--------------------------
Hosted by CyberAddict (http://www.cyberaddict.net)
More information about the LUAU
mailing list