On Fri, 4 Mar 2005 10:30:09 +1100 (EST), Devraj Mukherjee wrote 
> Hi Tomek, 
> 
> Can I ask you if you have been able to configure Apache dynamically 
> (VirtualHost) using an RDBMS backend? 
> 
Dear Devraj, 

I dont use RDBMS backend for apache, because I didn't find modules that 
provide storing configuration in PostgreSQL. 

My vhosts.conf looks like this: 

<Directory /w/*/www> 
Options -All ExecCGI FollowSymLinks 
AllowOverride None 
Order allow,deny 
Allow from all 
</Directory> 
Include /etc/apache2/conf/vhosts/hosts/* 

And in /etc/apache2/conf/vhosts/hosts/ I have one file per domain, for ex. 
/etc/apache2/conf/vhosts/hosts/domain.pl: 
<VirtualHost *> 
ServerName www.domain.pl 
DocumentRoot /w/domain.pl/www 
Include /etc/apache2/conf/vhosts/rewrite.conf 
</VirtualHost> 

Reply via email to