It is currently Fri Jul 20, 2018 2:30 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Overriding PHP settings through .htaccess
PostPosted: Sun Apr 02, 2006 11:05 pm 
Noobie
Noobie

Joined: Sun Apr 02, 2006 10:41 pm
Posts: 1
Hi.

I've been trying to turn some PHP options OFF through .htaccess, but when I place them I get 500 error (Internal Server Error).
Code:
php_flag register_globals off
php_flag session.use_trans_sid off


Since my website is encoded in UTF-8, I also use these settings for correct encoding. With these ones I get the same error as when I place the ones above.
Code:
php_value default_charset UTF-8
php_flag register_globals OFF
php_flag session.use_trans_sid OFF
php_value session.use_only_cookies 1
php_value mbstring.language uni
php_value mbstring.internal_encoding UTF-8
php_value mbstring.http_input auto
php_value mbstring.http_output pass
php_flag mbstring.encoding_translation ON
php_value mbstring.detect_order ASCII,JIS,UTF-8,EUC-JP,SJIS,EUC-CN,BIG-5,EUC-KR
php_value mbstring.substitute_character none
php_value output_handler none
php_flag output_buffering OFF


Any clues?
It used to work in another server...

Thanks in advance,
-Yuji


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 13, 2007 12:09 pm 
Noobie
Noobie

Joined: Wed Aug 30, 2006 1:42 pm
Posts: 4
http://drupal.org/node/25852


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: fhmagic, KJ, Support Team, Moderators

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011