[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reducing apache2 config files.



Hi all!
In my ISP we have hundreds of virtual hosts like this:

<VirtualHost 2.2.2.2:80>
DocumentRoot /home/pangea/user1/public_html
ServerName domain1.org
ServerAlias www.domain1.org www.domain2.org domain2.org
CustomLog /var/log/apache2/virtual/domain1.org common
SuexecUserGroup user1 group1
Action php-fcgi /fcgi-bin/php-fcgi-wrapper
Alias /fcgi-bin/ /home/httpd/fcgi-bin.d/php5-user1/
ScriptAlias /cgi-bin/ /home/pangea/user1/cgi-bin/
</VirtualHost>

I'm wondering if it's worth taking time to design and implement some�kind of 'mass virtualhosting' like mod_vhost_alias, mod_rewrite or using regular _expression_ in directives. Maybe the mod_rewrite�approach�is the best�choice�in my case. But I never use it . I really appreciate any recommendation from someone with experience on it.�

Thanks a lot!�
Marc


Reply to: