.htaccess

Status
Not open for further replies.

ittech052

New Member
Messages
2
Reaction score
0
Points
0
Hello. I have one question. Why does my site show me 500 Internal Server Error when I add this:

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_flag log_errors on
php_value error_log /home/user/public_html/errors/PHP_errors.log
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>

to the .htaccess file in /public_html?
Thanks.

P.S. Sorry for my bad English.
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Remove/comment out the following lines:

Code:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
php_flag log_errors on
php_value error_log /home/user/public_html/errors/PHP_errors.log

The php_XXXXX directives do not work because of the way the shared environment is set up. Using them in the .htaccess file causes an error.
 
Status
Not open for further replies.
Top