mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
56ff16ada7
Features include language support, GET, POST, and HEAD methods, CGI, PHP4 , a config file (optional for every user), a mime.types file, virtual hosts, the ability to deny URLs and IPs, to run as a different user (such as nobody), serve users home directories, resume, and more. PR: ports/58290 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
--- lang/en/mconf.orig Sat Oct 18 22:21:54 2003
|
|
+++ lang/en/mconf Mon Oct 20 19:55:52 2003
|
|
@@ -24,7 +24,7 @@
|
|
# be able to be established as a connection door if the user posesses
|
|
# privledges of Root.
|
|
|
|
-Port 2001
|
|
+Port 80
|
|
|
|
# ServerName :
|
|
# ------------
|
|
@@ -52,19 +52,19 @@
|
|
# --------
|
|
# File where the server guards the process number when starting.
|
|
|
|
-PidFile $logdir/monkey.pid
|
|
+PidFile /var/run/monkey.pid
|
|
|
|
# AccessLog:
|
|
# ----------
|
|
# Registration file of correct request.
|
|
|
|
-AccessLog $logdir/access.log
|
|
+AccessLog $logdir/monkey-access.log
|
|
|
|
# ErrorLog:
|
|
# ---------
|
|
# Registration file of incorrect request.
|
|
|
|
-ErrorLog $logdir/error.log
|
|
+ErrorLog $logdir/monkey-error.log
|
|
|
|
# UserDir:
|
|
# --------
|
|
@@ -120,7 +120,7 @@
|
|
# started by a user that doesn't have root priviledges, this variable will
|
|
# be omitted.
|
|
|
|
-User nobody
|
|
+User www
|
|
|
|
# AddScript
|
|
# ------------
|
|
@@ -137,8 +137,8 @@
|
|
# "php", should be processed through by "/home/my_home/php/bin/php"
|
|
#
|
|
|
|
-#AddScript application/x-httpd-php /home/my_home/php/bin/php php
|
|
-#AddScript application/x-httpd-php /home/my_home/php/bin/php php3
|
|
+#AddScript application/x-httpd-php ${prefix}/bin/php php
|
|
+#AddScript application/x-httpd-php ${prefix}/bin/php php3
|
|
|
|
# VIRTUAL HOST :
|
|
# --------------
|