File:  [LON-CAPA] / loncom / Attic / lonhttpd.conf
Revision 1.1: download - view: text, annotated - select for diffs
Wed Oct 6 21:38:53 2004 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_99_1, version_1_2_99_0, HEAD
- config file for running a seperate apache team as a replacement for lonhttpd

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


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>