Re: htaccess problems disabling phplib

From: Date: Thu, 22 Feb 2001 04:02:11 +0000
Subject: Re: htaccess problems disabling phplib
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41098@lists.php.net to get a copy of this message
From: "Gfunk" <josh@gfunk007.com> >Hi, I'm trying to disable phplib, and I have a .htaccess file consisting of the line > >php_value auto_prepend_file none > >And now I'm getting a 500 internal server error. Can anybody shed some light >on what I'm doing wrong? > >Cheers, >Gfunk It sounds like your Apache configuration does not allow the php_value directive to appear in an .htaccess file. Check your error_log for a description of the problem. In httpd.conf (or access.conf) find an applicable <Directory> block and check the setting of AllowOverride. I'm not actually sure what the override setting you need is, but you could try Options or just All. http://httpd.apache.org/docs/mod/core.html#allowoverride Example: <Directory /www/htdocs> AllowOverride All ... </Directory> Of course, if you're able to edit httpd.conf then you could just put the php_value directive directly in there. :) Cheers Simon Garner

« previous php.general (#41098) next »