Internat server error

frostherrien

Verified User
Joined
Apr 29, 2013
Messages
5
I install a fresh DA on centos 6.5
I use the GCI php, i get this error on some site and no error on other.
If someone can help me to resolve this problem.
Im not a expert.


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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 Server at mysite.com Port 80

Code:
[Wed Apr 02 03:01:02 2014] [notice] caught SIGTERM, shutting down
[Wed Apr 02 03:01:03 2014] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Apr 02 03:01:03 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Apr 02 03:01:03 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Apr 02 03:01:04 2014] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Wed Apr 02 03:01:04 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Apr 02 03:01:04 2014] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 configured -- resuming normal operations
 
More information about this error may be available in the server error log.

You should check error log of a specific virtual host (domain), they are located in /var/log/httpd/domains/
 
my log

I got that int he domain.
i just put the most 3 regular error.
Centos 6.5 Php CGI
Code:
[Wed Apr 02 03:49:16 2014] [alert] [client 66.249.76.149] /home/user/domains/mydomain.com/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration

[Wed Apr 02 13:57:09 2014] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?

[Wed Apr 02 13:58:03 2014] [alert] [client 82.145.221.102] /home/user/domains/mydomain.com/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
 
You should add htscanner to your installation to allow php_flag in .htaccess when using PHP as cgi. That's easy to do with custombuild 2.0.



  • htscanner - install/update htscanner using "./build mod_htscanner2", "./build php" or "./build all". Possible values: yes/no (default: yes). Not installed if PHP mode is set to mod_php (even if htscanner=yes is set in the options.conf file).

http://forum.directadmin.com/showthread.php?t=44743
 
Back
Top