[LON-CAPA-cvs] cvs: loncom / lonhttpd.conf

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 06 Oct 2004 21:38:53 -0000


albertel		Wed Oct  6 17:38:53 2004 EDT

  Added files:                 
    /loncom	lonhttpd.conf 
  Log:
  - config file for running a seperate apache team as a replacement for lonhttpd
  
  

Index: loncom/lonhttpd.conf
+++ loncom/lonhttpd.conf
ServerType standalone
ServerRoot "/home/httpd/perl"
LockFile /home/httpd/perl/logs/lonhttpd.lock
PidFile /home/httpd/perl/logs/lonhttpd.pid
ScoreBoardFile /home/httpd/perl/logs/lonhttpd_runtime_status
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 10
StartServers 3
MaxClients 150
MaxRequestsPerChild 1000
#LoadModule mmap_static_module modules/mod_mmap_static.so
LoadModule config_log_module  /etc/httpd/modules/mod_log_config.so
LoadModule mime_module        /etc/httpd/modules/mod_mime.so
LoadModule status_module      /etc/httpd/modules/mod_status.so
LoadModule cgi_module         /etc/httpd/modules/mod_cgi.so
#LoadModule alias_module       /etc/httpd/modules/mod_alias.so
LoadModule access_module      /etc/httpd/modules/mod_access.so
LoadModule auth_module        /etc/httpd/modules/mod_auth.so
LoadModule expires_module     /etc/httpd/modules/mod_expires.so
ClearModuleList
#AddModule mod_mmap_static
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_status.c
AddModule mod_cgi.c
#AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_expires.c
AddModule mod_so.c
#ExtendedStatus On
Port 8080
User www
Group www
ServerAdmin root@localhost
DocumentRoot "/home/httpd/html"
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
<Directory "/home/httpd/html/adm">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
<Directory "/home/httpd/html/res/adm">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
UseCanonicalName On
<IfModule mod_mime.c>
    TypesConfig /etc/mime.types
</IfModule>
DefaultType text/plain
HostnameLookups Off
ErrorLog /home/httpd/perl/logs/lonhttpd_error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog /home/httpd/perl/logs/lonhttpd.log combined
ServerSignature Off