Re: Slightly OT - .htaccess file question

From: Date: Mon, 23 Oct 2000 04:47:54 +0000
Subject: Re: Slightly OT - .htaccess file question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21714@lists.php.net to get a copy of this message
On Sun, 22 Oct 2000, rkirk.com Mail wrote: > > Using PHP4. > > I want to append to the default "include_path" that my ISP has set up in > their default php.ini. I'm told this is acheivable by creating an Apache > local override file ".htaccess" with the settings in I want to override. > I've checked teh PHP manula on-line (see bottom of message) but can't seem > to get the syntax right - I'm assuming thats what the problem is because if > I use my ".htaccess" file I get an Apache error, if I don't the page in > qustion appears fine. > Does anyone have example syntax (or a clear explanation) of what "php_value > name value" means? > Does is mean: > php_value include_path /path/inc > or php_value include_path "/path/inc" > or include_path /path/inc .... > > Help appreciated. > Thanks php_value name value where name is the name of the configuration directive and value is the value to assign to that directive; if value is a string then enclose it in quotes. So for your purposes the setting php_value include_path "/path/inc" should work _unless_ your ISP has disabled your access to certain functions in .htaccess files. The apache error message may be instructive :-) -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#21714) next »