[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suggestion for section 4.3



This one time, at band camp, Kai Hendry said:
> On Tue, Jun 28, 2005 at 02:54:23PM -0400, Tim Peeler wrote:
> >         * For php applications under apache, one can use "php_value
> >           auto_prepend_file" to provide configuration scripts for the
> >           application
> 
> What the hell is "php_valueauto_prepend_file" ? ;)
> 
> It could be as simple as :
> 
> bible:505$ cat /etc/wordpress/wp-config.php
> <?php
> /** WordPress's Debianised default master config file
> Please do NOT edit and read about how the configuration works in the
> README.Debian
> **/
> 
> require_once('/etc/wordpress/config-'.strtolower($_SERVER['HTTP_HOST']).'.php');
> 
> define('ABSPATH', '/usr/share/wordpress/');
> 
> require_once(ABSPATH.'wp-settings.php');
> ?>

What if you have two instances of an application running on the same
vhost?  Your approach works well for a single instance per vhost, but we
can get more fine grained than that, if need be.
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: