Hello there, please i am having problem with my .htaccess file on my site. whenever I upload the .htaccess file, and try to visit the site but the site is showing me error "500 Internet Error" but if i remove the htaccess file, the site will open normally. I have some files that include "header" function which requires htaccess file.
When I contacted the hosting company, i was told that The Server this site is located on has never had PHP4 to start with, when PHP is running with SUEXEC support are to be placed within a php.ini file and not .htaccess. So, it appears that what i need is php.ini fill instead of .htaccess file. I do not know how to code the php.ini file. pls help me out.
regards
.htaccess & php.ini problem
Moderator: General Moderators
Re: .htaccess & php.ini problem
What's in your .htaccess now?
Re: .htaccess & php.ini problem
what am having in my .htaccess is
Code: Select all
<?
PHP_FLAG output_buffering on
?>Re: .htaccess & php.ini problem
Then for your php.ini
Take that as an example for similar problems in the future.
(By the way, relying on output buffering is a bad choice. You should try to code for it being turned off.)
Code: Select all
output_buffering = on(By the way, relying on output buffering is a bad choice. You should try to code for it being turned off.)
Re: .htaccess & php.ini problem
Thanks a lot tasairis, it works and i really appreciate that.
regards
regards