aboutsummaryrefslogtreecommitdiff
path: root/network/htscanner/README
diff options
context:
space:
mode:
Diffstat (limited to 'network/htscanner/README')
-rw-r--r--network/htscanner/README22
1 files changed, 22 insertions, 0 deletions
diff --git a/network/htscanner/README b/network/htscanner/README
new file mode 100644
index 0000000000000..2ed4891d833ae
--- /dev/null
+++ b/network/htscanner/README
@@ -0,0 +1,22 @@
+Htscanner allows one to use htaccess-like files to configure PHP
+on a per-directory basis, just like Apache's htaccess. It is
+especially useful with fastcgi.
+
+Please read the "Description" part of /usr/doc/htscanner-<version>/README
+after installation. An example [htscanner] block for php.ini is included
+in /usr/doc/htscanner-<version>/htscanner.ini this can be appended to
+/etc/httpd/php.ini (after editing to ones preferences).
+
+Currently, for example, something like:
+
+cat << EOF > /var/www/htdocs/.htaccess
+<IfModule mod_php.c>
+ php_value register_globals On
+</IfModule>
+EOF
+
+cat /usr/doc/htscanner-0.8.1/htscanner.ini >> /etc/httpd/php.ini
+
+sh /etc/rc.d/rc.httpd stop
+sh /etc/rc.d/rc.httpd start
+