Skip to content

Instantly share code, notes, and snippets.

@yusukebe
Created May 26, 2009 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yusukebe/117859 to your computer and use it in GitHub Desktop.
Save yusukebe/117859 to your computer and use it in GitHub Desktop.
# Global Settings
User www-data
Group www-data
Timeout 300
KeepAlive Off
HostnameLookups Off
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog /var/log/apache2/access.log combined
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule rpaf_module /usr/lib/apache2/modules/mod_rpaf-2.0.so
RPAFenable On
RPAFsethostname Off
RPAFproxy_ips 127.0.0.1
# Local Settings
Listen 8001
PidFile /var/run/apache2/myapp.pid
StartServers 1
MinSpareServers 1
MaxSpareServers 3
MaxClients 10
ErrorLog /var/log/apache2/error_myapp.log
CustomLog /var/log/apache2/access_myapp.log combined
DocumentRoot /home/www/myapp/root
PerlSwitches -I/home/www/myapp/lib
PerlSwitches -I/home/www/myapp/extlib
PerlRequire /home/www/myapp/startup.pl
SetHandler perl-script
PerlHandler MyApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment