Are you running PHP as a Module or as CGI or FCGI? Look at phpinfo() output to be SURE. If it's not running as a Module, none of those directives are defined, because Apache (which implements .htaccess) has no friggin' idea what php_value or php_flag is without PHP Module there to tell it. On Wed, June 6, 2007 11:06 pm, Afan Pasalic wrote: > hi, > this question is already posted thousand times. but, after I tried for > 2 > hours to figure it out, I gave up and posted the question here. > I'm rebuilding one site. php 4.4.4 > as usual, register_globals on, as well as magic_quotes. > I tried to turn it off using .htaccess but what ever I change in the > (already existing) file, I would get 500 Internal Server Error > > this is content of the .htaccess file: > > # -FrontPage- > > IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* > > <Limit GET POST> > order deny,allow > deny from all > allow from all > </Limit> > <Limit PUT DELETE> > order deny,allow > deny from all > </Limit> > AuthName mkl1332 > AuthUserFile /u/web/afan/_vti_pvt/service.pwd > AuthGroupFile /u/web/afan/_vti_pvt/service.grp > > and I tried to add > php_flag register_globals Off > and it doesn't work (500 internal server error) > > I tried with register_global 0 - same thing. > > could you please point me where to look after? > > thanks for any help. > > -afan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php