aboutsummaryrefslogtreecommitdiff
path: root/network/htscanner/README
blob: 81c1d3f22f69590251d041698f87343b5e744007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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-1.15/README
after installation. An example /etc/php/htscanner.ini is included.

A configuration example, maybe something like the following:

cat << EOF > /var/www/htdocs/.htaccess 
<IfModule mod_php.c>
        php_value register_globals On
</IfModule>
EOF

sh /etc/rc.d/rc.httpd stop
sh /etc/rc.d/rc.httpd start

To test, try:

php -i | grep htscanner