RE: [PHP] How do I get htaccess files to take effect?

From: Date: Mon, 04 Feb 2002 16:02:44 +0000
Subject: RE: [PHP] How do I get htaccess files to take effect?
Groups: php.general 
Request: Send a blank email to php-general+get-83405@lists.php.net to get a copy of this message
> -----Original Message----- > From: Neil Freeman [mailto:neil.freeman@asa.co.uk] > Sent: Monday, February 04, 2002 4:45 AM > To: PHP General > Subject: [PHP] How do I get htaccess files to take effect? > > > This is my first time attempting to use htaccess files. I am > running Apache 1.3.20 with PHP v4.0.6 installed as a module. > Within Apache's httpd.conf file I have the following value set: > > [snip] > > What I am attempting to do is alter PHP's include path 'on > the fly' rather than specifying an overall value within php.ini. > The problem I have though is that the 'include_path' value does > not appear to be picked up. Am I using htaccess files correctly > or do I need to alter some other values within Apache's > httpd.conf file?? What you've got so far looks fine. The other thing that you'll need, though, is an appropriate "AllowOverride" value in your httpd.conf for the server or directories in question. http://httpd.apache.org/docs/mod/core.html#allowoverride --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell

« previous php.general (#83405) next »