RE: [PHP] include() & .htaccess
| From: | Ford, Mike [LSS] | Date: | Wed, 13 Mar 2002 15:05:53 +0000 |
| Subject: | RE: [PHP] include() & .htaccess | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88354@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Patrick Teague [mailto:webdude@veslach.com]
> 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: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211