forked from ltworf/weborf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweborf.conf
More file actions
38 lines (28 loc) · 1.28 KB
/
weborf.conf
File metadata and controls
38 lines (28 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# /etc/weborf.conf - configuration file for weborf(1)
# see weborf.conf(5) for details on this file
#
#Index files. This list is ordered by priority. If not set, the default value will be index.html.
indexes=index.html,index.php
# Base directory.
basedir=/var/www/
# Enables or disables use of CGI support
use-cgi=true
#Enable weborf to send Content-Type header
use-mime=true
# Tells weborf which binary it has to use to execute a certain dynamic page
# default value: .php,/usr/lib/cgi-bin/php5,.py,/usr/lib/cgi-bin/weborf_py_wrapper
#cgi=.php,/usr/lib/cgi-bin/php5,.py,/usr/lib/cgi-bin/weborf_py_wrapper,.cgi,/usr/lib/cgi-bin/weborf_cgi_wrapper
# Authentication
#auth-bin=/usr/local/bin/weborf.something
#auth-socket=/var/run/weborf.auth
# User that will be used to run the process. If it is not set, the user will be root!
user=www-data
# Directory that will be used for the cached files
cachedir=/var/cache/weborf
# Virtualhosts. Read manpage for more details.
# Examples
# This line will enable two hosts named "localhost" and "serverq.com"
#virtual#80#localhost=/var/www/,serverq.com=/var/www-alt/
# This line will enable listing on port 8080. If the port is different than 80,
# the port must be specified in the virtualhost too with :port
#virtual#8080#localhost:8080=/home/ltworf/public_html/