php_flag register_globals 1 php_flag register_globals onFakat bu şekilde sisteme attığımda sitemdeki hiçbir sayfa açılmıyor.. 500 Internal Server Error hatası alıyorum . Acaba nasıl bir çözüm bulabiliriz ?
register_globals sorunu
8
●1.614
- 25-01-2010, 15:16:13Merhaba arkadaşlar benim bulunduğum hostun register global ayarları kapalı.. Benimde bir sistem için bu register_globals'ı açmam gerek.. İnternette araştırdım çözümün .htaccess olarak çözmeye denedim; .htaccess dosyam tam olarak aşağıdaki gibi:
- 25-01-2010, 15:21:25Maalesef olmadı , verdiği hata:Daky adlı üyeden alıntı: mesajı görüntüle
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@oyen.oktayusx.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at oyen.oktayusx.net Port 80 - 25-01-2010, 15:27:23[Mon Jan 25 15:22:31 2010] [alert] [client xx.xx.xx.xxx] /home/oktay/public_html/oyen/.htaccess: Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configurationDaky adlı üyeden alıntı: mesajı görüntüle
- 14-03-2010, 20:02:45php.ini ile yaptığımda phpinfo ile bakıyorum, register_globals on gözüküyor. Fakat site sanki register_globals off 'muş gibi işlem yapıyor.HYDRA adlı üyeden alıntı: mesajı görüntüle
Edit : Sorunu çözdüm.
httpd.conf dosyasına register_globals on yapmak istediğim domaine
<IfModule mod_suphp.c> suPHP_ConfigPath /php.ini/dosya/yolu </IfModule>
satırlarını ekledim, sorun çözüldü.