Re: changing the ini from a file
| From: | Wolf | Date: | Wed, 16 Jan 2008 17:12:29 +0000 |
| Subject: | Re: changing the ini from a file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-267406@lists.php.net to get a copy of this message | ||
---- Jim Lucas <lists@cmsws.com> wrote:
> Jim Lucas wrote:
> > Wolf wrote:
> >> I'm using .htaccess to do
> >> php_value auto_prepend_file "auth.php"
> >>
> >> The problem is that there are very specific files that I want to be
> >> able to NOT run that in. I guess I could just move them to a
> >> directory and use .htaccess to perform a php_value auto_prepend_file ""
> >>
> >> But I was hoping to not have to make a separate folder for that.
> >> Anyone encoutered being able to change/disable the setting on the fly
> >> in a specific file?
> >>
> >> Thanks!
> >>
> >> Wolf
> >>
> >
> > Just had an interesting way of solving this problem come to mind.
> >
> > I would like others to way in on this.
> >
> > You can do this completely from within apache.
<!-- snip -->
I love the idea and I might reverse it to handle the case of NOT prepending the file...
That or I'll just make a clean/diag directory, then put a .htaccess file in the folder and use
it to remove the prepend...