[CLUE-Tech] PHP - register_globals and htaccess
    Jed S. Baer 
    thag at frii.com
       
    Thu Jan 16 18:27:27 MST 2003
    
    
  
On Thu, 16 Jan 2003 07:01:23 -0700
Sean LeBlanc <seanleblanc at americanisp.net> wrote:
> On 01-15 22:02, Jed S. Baer wrote:
> > Hi Folks.
> > 
> > Having dutifully rtFm, I have concluded that if I create an .htaccess
> > file in a directory:
> > 
> > <IfModule libphp4.c>
> >   php_flag register_globals on
> > </IfModule>
...
> > AFAICT (using <?php phpinfo(); ?>, it doesn't work. Any thoughts?
> 
> Does it work if you put it into httpd.conf? Do constructs using the
Actually, the problem is in httpd.conf, so thanks for putting my mind in
that area.
2 problems. 1) I needed mod_php4.c, not libphp4.c and 2) I needed
'AllowOverride Options' in my httpd.conf.
Works fine now.
jed
-- 
We're frogs who are getting boiled in a pot full of single-character
morphemes, and we don't notice. - Larry Wall; Perl6, Apocalypse 5
    
    
More information about the clue-tech
mailing list