Re: [PHP] include() .htaccess

2002-03-13 Thread Patrick Teague

I'm having problems with .htaccess files setting up the php_value
include_dir on both my development  test servers.  I'm using php4 under
apache on win2k for development  php4 under apache on unix as a test
server.  I've currently done the following on the win server

Directory
php_value include_dir .;C:/home/plugged/common/
/Directory

 done the following on the unix server

Directory
php_value include_dir .:/home/plugged/common/
/Directory

neither works...  am I doing something wrong here or am I forgetting
something?

Patrick



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] include() .htaccess

2002-03-13 Thread Ford, Mike [LSS]

 -Original Message-
 From: Patrick Teague [mailto:[EMAIL PROTECTED]]
 Sent: 13 March 2002 10:48
 
 
 I'm having problems with .htaccess files setting up the php_value
 include_dir on both my development  test servers.  I'm using 
 php4 under
 apache on win2k for development  php4 under apache on unix as a test
 server.  I've currently done the following on the win server
 
 Directory
 php_value include_dir .;C:/home/plugged/common/
 /Directory
 
  done the following on the unix server
 
 Directory
 php_value include_dir .:/home/plugged/common/
 /Directory
 
 neither works...  am I doing something wrong here or am I forgetting
 something?

Uh, well, including the name of the Directory you want it to apply to might be nice: 
just because the .htaccess file is in a particular directory doesn't mean that's used 
as the default -- you still have to specify it in full in the Directory  tag.

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php