summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/cherokee/files/cherokee-0.4.17-cherokee.conf')
-rw-r--r--www-servers/cherokee/files/cherokee-0.4.17-cherokee.conf123
1 files changed, 123 insertions, 0 deletions
diff --git a/www-servers/cherokee/files/cherokee-0.4.17-cherokee.conf b/www-servers/cherokee/files/cherokee-0.4.17-cherokee.conf
new file mode 100644
index 000000000000..f1ee6b988472
--- /dev/null
+++ b/www-servers/cherokee/files/cherokee-0.4.17-cherokee.conf
@@ -0,0 +1,123 @@
+##
+## cherokee.conf -- Cherokee HTTP server configuration file
+##
+
+##
+## Port: The port to which the standalone server listens. For
+## ports < 1023, you will need cherokee to be run as root initially.
+## Security: if you do start the server as root, be sure not to set
+## "User" to root.
+##
+Port 80
+
+##
+## IPv6 support
+##
+IPv6 On
+
+##
+## This directiveis used to tell the server which IP address to listen to.
+##
+#Listen 127.0.0.1
+
+##
+## If you wish cherokee to run as a different user or group, you must run
+## cherokee as root initially and it will switch.
+##
+## Eg: User www-data
+## Group www-data
+##
+## Eg: User 65534
+## Group 65534
+##
+#User nobody
+#Group nogroup
+
+##
+## Chroot:
+##
+# Chroot /var/www
+
+##
+## Timeout: The number of seconds before receives and sends time out.
+##
+Timeout 15
+
+##
+## KeepAlive: Whether or not to allow persistent connections (more than
+## one request per connection). Set to "Off" to deactivate.
+##
+KeepAlive On
+
+##
+## MaxKeepAliveRequests: The MaxKeepAliveRequests directive limits the
+## number of requests allowed per connection when KeepAlive is on.
+## We recommend that this setting be kept to a high value for maximum
+## server performance.
+##
+MaxKeepAliveRequests 500
+
+##
+## DirectoryIndex: Name of the file or files to use as a pre-written HTML
+## directory index. Separate multiple entries with commas.
+##
+DirectoryIndex index.php, index.html, index.htm, index.shtml
+
+##
+## DocumentRoot: The directory out of which you will serve your
+## documents. By default, all requests are taken from this directory, but
+## symbolic links and aliases may be used to point to other locations.
+##
+DocumentRoot /var/www/localhost/htdocs
+
+##
+## Hide Version: Hide the software version
+##
+HideVersion Off
+
+##
+## Hide ServerName: Hide the software version and the server name
+##
+HideServerName Off
+
+##
+## PidFile: The file in which the server should record its process
+## identification number when it starts.
+##
+PidFile /var/run/cherokee.pid
+
+##
+## Icons: Extension to icon file.
+##
+Icons /etc/cherokee/icons.conf
+
+##
+## MimeFile: Mime types file. By default you should leave it
+## commented
+##
+MimeFile /etc/cherokee/mime.conf
+
+##
+## Load the GZip encoder plugin
+## only used if the client support the encoding ("Accept-Encoding:")
+##
+# Encoder gzip {
+# Allow html, htm, txt
+# Deny jpg, png, gz
+# }
+
+##
+## Advanced settings, do not change if you are not sure..
+##
+Include /etc/cherokee/advanced.conf
+
+##
+## Include the module configuration:
+##
+Include /etc/cherokee/mods-enabled
+
+##
+## Include the virtual host configuration:
+##
+Include /etc/cherokee/sites-enabled
+