aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi/README
diff options
context:
space:
mode:
authoronefang2020-01-04 17:28:24 +1000
committeronefang2020-01-04 17:28:24 +1000
commit6d1f9cc869d62f17230b3174f320bad4f2d1c435 (patch)
treee8afbe99f7cc29d58e5d51d21060537a69dbfeb7 /cgi/README
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/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/cgi/README b/cgi/README
new file mode 100644
index 0000000..734e4f0
--- /dev/null
+++ b/cgi/README
@@ -0,0 +1,16 @@
1These are for the case of running under a web server that doesn't support
2PHP directly. In the case that prompted this, thttpd is the server
3software. It'll likely work for others as well, none have been tested.
4
5To install this -
6
7* Copy both files to your web servers document root.
8* php.cgi should be executable.
9* add php.cgi to the base of your urls for PHP pages, so -
10 http://example.com/my/php/project/index.php
11 becomes -
12 http://example.com/php.cgi/my/php/project/index.php
13 Or for a typical apt-panopticon install -
14 http//:example.com/php.cgi/apt-panopticon/apt-panopticon_cgp/index.php
15* For apt-panopticon, pass --cgi to it, so it'll construct URLs properly.
16* Your PHP code may need to be adjusted, cgp has already been adjusted.