aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi/php.ini
diff options
context:
space:
mode:
authoronefang2020-01-04 17:28:24 +1000
committeronefang2020-01-04 17:28:24 +1000
commit6d1f9cc869d62f17230b3174f320bad4f2d1c435 (patch)
treee8afbe99f7cc29d58e5d51d21060537a69dbfeb7 /cgi/php.ini
parentIgnore the rrd directory. (diff)
downloadapt-panopticon_cgp-6d1f9cc869d62f17230b3174f320bad4f2d1c435.zip
apt-panopticon_cgp-6d1f9cc869d62f17230b3174f320bad4f2d1c435.tar.gz
apt-panopticon_cgp-6d1f9cc869d62f17230b3174f320bad4f2d1c435.tar.bz2
apt-panopticon_cgp-6d1f9cc869d62f17230b3174f320bad4f2d1c435.tar.xz
Work with CGI PHP.
Diffstat (limited to '')
-rw-r--r--cgi/php.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/cgi/php.ini b/cgi/php.ini
new file mode 100644
index 0000000..7c53490
--- /dev/null
+++ b/cgi/php.ini
@@ -0,0 +1,10 @@
1[PHP]
2
3; cgi.force_redirect is necessary to provide security running PHP as a CGI under
4; most web servers. Left undefined, PHP turns this on by default. You can
5; turn it off here AT YOUR OWN RISK
6; **You CAN safely turn this off for IIS, in fact, you MUST.**
7; ** Seems the same thing applies to thttpd, you MUST turn it off. **
8; http://php.net/cgi.force-redirect
9;cgi.force_redirect = 1
10cgi.force_redirect = 0