Created
September 25, 2009 17:24
-
-
Save anonymous/193694 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PerlRequire /data/WebGUI/sbin/preload.perl | |
#PerlSetVar ProfileSubnet 192.168.0.1/24 | |
#PerlModule WebGUI::PerformanceProfiler | |
#PerlChildInitHandler WebGUI::PerformanceProfiler | |
#PerlOutputFilterHandler WebGUI::PerformanceProfiler | |
<VirtualHost *:80> | |
PerlCleanupHandler Apache2::SizeLimit | |
RewriteEngine off | |
RewriteLog /var/log/httpd/rewrite.log | |
RewriteLogLevel 3 | |
RewriteCond %{HTTP_HOST} worksite\.localdomain | |
RewriteRule ^/$ http://mywebgui.localdomain/work [P] | |
ServerName mywebgui.localdomain | |
ServerAlias mywebgui | |
DocumentRoot /data/domains/mywebgui.localdomain/www | |
PerlSetVar WebguiConfig mywebgui.conf | |
PerlSetVar WebguiRoot /data/WebGUI | |
#<Location /gate> Gateway URL | |
<Location /> | |
SetHandler perl-script | |
PerlInitHandler WebGUI | |
Options FollowSymLinks | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Location> | |
Alias /extras /data/WebGUI/www/extras | |
CustomLog /var/log/httpd/mywebgui.log combined | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName translation.localdomain | |
ServerAlias translation | |
DocumentRoot /data/domains/translation.webgui.org | |
#ScriptAlias / /data/domains/translation.webgui.org | |
Alias /extras /data/WebGUI_HEAD/www/extras | |
<Location /> | |
DirectoryIndex translationserver.cgi | |
AddHandler cgi-script .cgi .pl | |
Options +ExecCGI +Indexes | |
</Location> | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName exporter.localdomain | |
ServerAlias exporter | |
DocumentRoot /data/domains/mywebgui.localdomain/www/export | |
#ScriptAlias / /data/domains/translation.webgui.org | |
<Location /> | |
Options FollowSymLinks | |
Order allow,deny | |
Allow from all | |
</Location> | |
#Alias /extras /data/WebGUI_HEAD/www/extras | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment