forked from Lainports/freebsd-ports
"Cannot get media type from 'x-httpd-php'" as a warning in the ErrorLog. Issue caused by incorrect AddType syntax. This commit fixes the pkg-message syntax described, as well as the example suphp.conf to reflect the proper type (value "application/x-httpd-php", not "x-httpd-php"). Submitted by: <dark@aspu.ru>
30 lines
576 B
Text
30 lines
576 B
Text
--- doc/suphp.conf-example.orig 2005-11-26 11:29:02.000000000 -0800
|
|
+++ doc/suphp.conf-example 2007-12-12 09:21:02.000000000 -0800
|
|
@@ -6,7 +6,7 @@
|
|
loglevel=info
|
|
|
|
;User Apache is running as
|
|
-webserver_user=wwwrun
|
|
+webserver_user=www
|
|
|
|
;Path all scripts have to be in
|
|
docroot=/
|
|
@@ -33,15 +33,15 @@
|
|
umask=0077
|
|
|
|
; Minimum UID
|
|
-min_uid=100
|
|
+min_uid=80
|
|
|
|
; Minimum GID
|
|
-min_gid=100
|
|
+min_gid=80
|
|
|
|
|
|
[handlers]
|
|
;Handler for php-scripts
|
|
-x-httpd-php=php:/usr/bin/php
|
|
+application/x-httpd-php=php:/usr/local/bin/php-cgi
|
|
|
|
;Handler for CGI-scripts
|
|
x-suphp-cgi=execute:!self
|