Re: changing the ini from a file

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

 



---- Jim Lucas <lists@xxxxxxxxx> 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...

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux