ServerName www.dploy.org ServerAdmin webmaster@dploy.org DocumentRoot /mondo/dploy/www/html/dploy CustomLog /var/log/httpd/www.dploy.org/access_log combined Errorlog /var/log/httpd/www.dploy.org/error_log RewriteEngine On RewriteRule ^/index\.html$ /index.shtml RewriteRule ^/$ /index.shtml DirectoryIndex index.shtml Options -Indexes +MultiViews +FollowSymLinks +Includes AllowOverride None Require all granted AllowOverride All Options +ExecCGI +FollowSymLinks Require all granted ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/" # fix mdk bug #16298 PassEnv LC_ALL PassEnv LANG # fix mdk bug #16298 Options +Indexes +MultiViews AllowOverride None Require all granted Allow from All Alias /trac/ "/usr/share/trac/htdocs/" SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env" # You need something like this to authenticate users AuthType Basic AuthName "Dploy" AuthUserFile /usr/local/etc/dploy.htpasswd Require valid-user ServerName trac.dploy.org SetEnv TRAC_ENV "/mondo/dploy/trac/dploy.env" DocumentRoot /mondo/dploy/www/cgi-bin/trac.cgi ServerAdmin webmaster@dploy.org CustomLog /var/log/httpd/www.dploy.org/access_log combined Errorlog /var/log/httpd/www.dploy.org/error_log # fix mdk bug #16298 PassEnv LC_ALL PassEnv LANG AllowOverride All Options +ExecCGI +FollowSymLinks Require all granted Alias /trac/ "/usr/share/trac/htdocs/" ScriptAlias /cgi-bin/ "/mondo/dploy/www/cgi-bin/" # You need something like this to authenticate users AuthType Basic AuthName "Dploy" AuthUserFile /usr/local/etc/trac.htpasswd Require valid-user ServerName www1.dploy.org ServerAdmin webmaster@dploy.org DocumentRoot /mondo/dploy/www/html/test CustomLog /var/log/httpd/www1.dploy.org/access_log combined Errorlog /var/log/httpd/www1.dploy.org/error_log Options -Indexes +MultiViews +FollowSymLinks +Includes AllowOverride None Require all granted