FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 01-19-2010, 08:47 AM
Marc Aymerich
 
Default 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
 

Thread Tools




All times are GMT. The time now is 05:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org