4bf6755df0c643fe332ce81ba72d342721a86a22
[openwrt/svn-archive/archive.git] / net / hiawatha / files / httpd.conf
1 # Hiawatha main configuration file
2 #
3
4
5 # GENERAL SETTINGS
6 #
7 #ServerId = www-data
8 ConnectionsTotal = 150
9 ConnectionsPerIP = 10
10 SystemLogfile = /var/log/hiawatha/system.log
11 GarbageLogfile = /var/log/hiawatha/garbage.log
12
13
14 # BINDING SETTINGS
15 # A binding is where a client can connect to.
16 #
17 Binding {
18 Port = 80
19 # Interface = 127.0.0.1
20 # MaxKeepAlive = 30
21 # TimeForRequest = 3,20
22 }
23 #
24 #Binding {
25 # Port = 443
26 # Interface = ::1
27 # MaxKeepAlive = 30
28 # TimeForRequest = 3,20
29 # ServerKey = hiawatha.pem
30 # UseSSL = yes
31 #}
32
33
34 # BANNING SETTINGS
35 # Deny service to clients who misbehave.
36 #
37 #BanOnGarbage = 300
38 #BanOnMaxPerIP = 60
39 #BanOnMaxReqSize = 300
40 #KickOnBan = yes
41 #RebanDuringBan = yes
42
43
44 # COMMON GATEWAY INTERFACE (CGI) SETTINGS
45 # These settings can be used to run CGI applications. Use the 'php-fcgi'
46 # tool to start PHP as a FastCGI daemon.
47 #
48 #CGIhandler = /usr/bin/php-cgi:php
49 #CGIhandler = /usr/bin/perl:pl
50 #CGIhandler = /usr/bin/python:py
51 #CGIextension = cgi
52 #
53 #FastCGIserver {
54 # FastCGIid = PHP4
55 # ConnectTo = 127.0.0.1:2004
56 # Extension = php, php4
57 #}
58 #
59 #FastCGIserver {
60 # FastCGIid = PHP5
61 # ConnectTo = 10.0.0.100:2005, 10.0.0.101:2005
62 # Extension = php, php5
63 # SessionTimeout = 30
64 #}
65
66
67 # URL TOOLKIT
68 # These URL toolkit rules are made for the Skeleton PHP framework,
69 # which can be downloaded from: http://skeleton.leisink.org/
70 #
71 #UrlToolkit {
72 # ToolkitID = skeleton
73 # Match ^/$ Return
74 # RequestURI isfile Exit
75 # Match (.*)\?(.*) Rewrite $1&$2
76 # Match /(.*) Rewrite /index.php?page=$1
77 #}
78
79
80 # DEFAULT WEBSITE
81 # It is wise to use your IP address as the hostname of the default website
82 # and give it a blank webpage. By doing so, automated webscanners won't find
83 # your possible vulnerable website.
84 #
85 Hostname = 127.0.0.1
86 WebsiteRoot = /www
87 StartFile = index.html
88 AccessLogfile = /var/log/hiawatha/access.log
89 ErrorLogfile = /var/log/hiawatha/error.log
90 #ErrorHandler = 404:/error.cgi
91
92
93 # VIRTUAL HOSTS
94 # Use a VirtualHost section to declare the websites you want to host.
95 #
96 #VirtualHost {
97 # Hostname = www.my-domain.com
98 # WebsiteRoot = /var/www/my-domain/public
99 # StartFile = index.php
100 # AccessLogfile = /var/www/my-domain/log/access.log
101 # ErrorLogfile = /var/www/my-domain/log/error.log
102 # ExecuteCGI = yes
103 # FastCGI = PHP4
104 # TimeForCGI = 5
105 #}
106
107
108 # DIRECTORY SETTINGS
109 # You can specify some settings per directory.
110 #
111 #Directory {
112 # Path = /home/baduser
113 # ExecuteCGI = no
114 # UploadSpeed = 10,2
115 #}