Author Topic: Error 500 when i use .htaccess  (Read 7264 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error 500 when i use .htaccess
« on: July 21, 2016, 11:00:36 AM »
Hi i've set one web sito on centos web panel and 've trasfer the site from another web space when i set .htaccess i see error 500.
Apache error log is:
[Thu Jul 21 12:45:21 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 21 12:45:21 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Jul 21 12:45:22 2016] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Thu Jul 21 12:45:32 2016] [notice] caught SIGTERM, shutting down
[Thu Jul 21 12:45:33 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 21 12:45:33 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Jul 21 12:45:34 2016] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Thu Jul 21 12:45:37 2016] [alert] [client ip] /home/myuser/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jul 21 12:45:41 2016] [alert] [client ip] /home/myuser/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
[Thu Jul 21 12:47:21 2016] [alert] [client ip] /home/myuser/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
I've fix all permission.
Do you have any suggest?

Offline
*
Re: Error 500 when i use .htaccess
« Reply #1 on: July 24, 2016, 09:26:13 AM »
Solution Swith to mod_php