# MOCHA's PACO Configuration
<VirtualHost paco.domain.com:8989>
ServerAdmin
support@domain.com
DocumentRoot /home/bilybobb/mocha/paco/htdocs
ServerName paco.domain.com
ScriptAlias /cgi-bin/mocha/ /home/bilybobb/mocha/paco/cgi-bin/
Redirect permanent index.html
http://paco.domain.com:8989/cgi-bin/mocha/paco-main.pl
ErrorLog /var/log/mocha-log/paco-error_log
TransferLog /var/log/mocha-log/paco-access_log
SetEnv PERL5LIB /home/bilybobb/mocha/intranet/modules/
SetEnv MOCHA_CONF /etc/mocha.conf
User bilybobb
Group bilybobb
CustomLog /usr/local/apache/domlogs/mocha.domain.com combined
</VirtualHost>
# MOCHA's INTRANET Configuration
<VirtualHost mocha.domain.com:8998>
ServerAdmin
support@domain.com
DocumentRoot /home/bilybobb/mocha/intranet/htdocs
ServerName mocha.domain.com
ScriptAlias /cgi-bin/mocha/ /home/bilybobb/mocha/intranet/cgi-bin/
Redirect permanent index.html
http://mocha.domain.com:8998/cgi-bin/mocha/mainpage.pl
ErrorLog /var/log/mocha-log/mocha-error_log
TransferLog /var/log/mocha-log/mocha-access_log
SetEnv PERL5LIB /home/bilybobb/mocha/intranet/modules
SetEnv MOCHA_CONF /etc/mocha.conf
User bilybobb
Group bilybobb
CustomLog /usr/local/apache/domlogs/mocha.domain.com combined
</VirtualHost>
<VirtualHost mocha.domain.com:80>
ServerAlias mocha.domain.com library.domain.com
ServerAdmin
webmaster@domain.com
DocumentRoot /home/bilybobb/public_html
BytesLog /usr/local/apache/domlogs/mocha.domain.com-bytes_log
User bilybobb
Group bilybobb
ServerName mocha.domain.com
<IfModule mod_userdir.c>
Userdir disabled
Userdir enabled bilybobb
</IfModule>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/bilybobb:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/bilybobb:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
User bilybobb
Group bilybobb
CustomLog /usr/local/apache/domlogs/mocha.domain.com combined
ScriptAlias /cgi-bin/ /home/bilybobb/public_html/cgi-bin/
</VirtualHost>