Re: configuration.inc on php.net
| From: | Jim Winstead | Date: | Sat, 14 Dec 2002 17:16:30 +0000 |
| Subject: | Re: configuration.inc on php.net | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-14170@lists.php.net to get a copy of this message | ||
On Sat, Dec 14, 2002 at 01:57:03PM +0100, Gabor Hojtsy wrote:
> BTW it would be nice to find a way to eliminate this file
> alltogether, and put the htdig file path into some vhost
> setting, but PHP unfortunately does not allow users to just
> invent new PHP.ini settings and put value into them through
> Apache's httpd.conf, which would be nice in this case, so
> there would be one place to edit for mirror information...
SetEnv and/or setting environment variables in a RewriteRule
does the trick for this. they're then accessible in $_SERVER.
jim