You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by js <fo...@emat.be> on 2007/11/16 21:04:13 UTC

[users@httpd] Mod_vhost_dbi (or other modules) possibilities

Hi list,

I want to be able to store my virtual host directives into a mysql 
database for two reasons:

    * I want to provide a web based frontend so end users can edit their
      own virtual host.
    * I want configration changes to have immediate effect.

 From what I understood it's quite straight forward to have single 
entries stored in the sql database like documentroot or something like that.

Can I store a Virtual's host location based entries in such a setup?  If 
so, .. How can I do that ?


                <Location /test1>
                        ProxyPass                      
http://internalhost:8080/test1
                        ProxyPassReverse        
http://internalhost:8080/test1
                </Location>

                <Location /test2>
                        ProxyPass                      
http://internalhost:8180/test2
                        ProxyPassReverse        
http://internalhost:8180/test2
                </Location>


One virtual host can contain more location entries then another,...


If this is not possible with mod_vhost_dbi, are there any other 
modules/tools I could use for this ?

Cheers,


Js

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