LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: David Rowlands <davidr@empower.com.au>
To : David Lloyd <lloy0076@rebel.net.au>
Date: Sat, 30 Jun 2001 17:42:34 +0930
RE: Configuring PHP from .htaccess
David,
Here is what I have in one of my .htaccess files:
php_value magic_quotes_gpc Off
php_value magic_quotes_runtime Off
php_value magic_quotes_sybase Off
It basically turns the magic quote feature off. If you look in php.ini, the
same parameters are in there, without the php_value prefix.
You may need to adjust
AllowOverride
in httpd.conf for the relevant <Directory> </Directory> section so apache
picks up the .htaccess file.
Hope this helps.
-----Original Message-----
From: David Lloyd
To: linuxsa@linuxsa.org.au
Sent: 30/06/01 14:53
Subject: Configuring PHP from .htaccess
I've got the PHP manual which says that PHP 4.0 can use Apache
directives to configure some of its behaviour but the manual fails to
say exactly how, http://www.php.net/ is relatively silent on the matter
(or I just can't find the right page) and http://www.apache.org/ doesn't
have any specific documentation on it.
Anyone got any pointers?
DSL
--
"And the winner is
InUnifiedCanadianAboriginalSyllabics"
- Larry Wall et al in Programming Perl
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on
irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page