When a user site is accessed by shared SSL,
https://sharedssl.host/~username/index.php (NG)
- sharedssl.host -> /home/sharedusername/public_html (no contents)
- /~username -> /home/username/public_html
the following error occurs.
--- error_log ---
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: index.php
----------------
--- suexec_log ---
uid: (userid/username) gid: (groupid/username) cmd: php5
command not in docroot (/usr/local/cpanel/cgi-sys/php5)
------------------
But, If it accesses to shared SSL after accessing to a user site, contents are normally displayed only during the FcgidIdleTimeout.
http://user.host/index.php -> https://sharedssl.host/~username/index.php (OK)
https://sharedssl.host/~username/index.php (OK: during the FcgidIdleTimeout)
So, If the period of FcgidIdleTimeout expires, access by shared SSL will occur 500 errors.
https://sharedssl.host/~username/index.php (NG: after FcgidIdleTimeout expires)
-- web app (with settings) ---
Apache/2.2.22 mod_fcgid 2.3.6 PHP 5.3.10 (cgi-fcgi)
:php.conf
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml .cgi .pl
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php4
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml
# End of autogenerated PHP configuration.
FcgidMaxRequestsPerProcess 500
:/usr/local/cpanel/cgi-sys/php5
#!/bin/sh
exec /usr/bin/php
--------------
Please advise me
https://sharedssl.host/~username/index.php (NG)
- sharedssl.host -> /home/sharedusername/public_html (no contents)
- /~username -> /home/username/public_html
the following error occurs.
--- error_log ---
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Premature end of script headers: index.php
----------------
--- suexec_log ---
uid: (userid/username) gid: (groupid/username) cmd: php5
command not in docroot (/usr/local/cpanel/cgi-sys/php5)
------------------
But, If it accesses to shared SSL after accessing to a user site, contents are normally displayed only during the FcgidIdleTimeout.
http://user.host/index.php -> https://sharedssl.host/~username/index.php (OK)
https://sharedssl.host/~username/index.php (OK: during the FcgidIdleTimeout)
So, If the period of FcgidIdleTimeout expires, access by shared SSL will occur 500 errors.
https://sharedssl.host/~username/index.php (NG: after FcgidIdleTimeout expires)
-- web app (with settings) ---
Apache/2.2.22 mod_fcgid 2.3.6 PHP 5.3.10 (cgi-fcgi)
:php.conf
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml .cgi .pl
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php4
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2
FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml
# End of autogenerated PHP configuration.
FcgidMaxRequestsPerProcess 500
:/usr/local/cpanel/cgi-sys/php5
#!/bin/sh
exec /usr/bin/php
--------------
Please advise me