1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Porto Alegre, RS, Brazil
    Rep Power
    Does anybody knows how can I put the Virtual Hosts (by default in httpd.conf) in a mysql database ?
    I am looking for a module that can do it.
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    AFAIK, you can't, maybe in the future release of Apache.

    Why do you want to do that anyway? If you are concerning the speed, httpd.conf will be read only when the server starts. For ease of maintenance, you can use 'include' at the bottom of your httpd.conf like so:

    Include /usr/local/etc/apache/vhost.list

    In mod_rewrite, you can use 'RewriteMap'. Check here -> http://www.apache.org/docs/mod/mod_r...tml#RewriteMap but still, this wouldn't solve your problem.

IMN logo majestic logo threadwatch logo seochat tools logo