I’m going to set up CGI at out new Apache server with cPanel for running Miva – no comments please, know Miva is kind of outdated for mosts, but it works extremely well when running, and we do have a huge site not rewritten to PHP, that we wish to move to the new server:
Centos 6.6 x86_64 vmware, WHM 11.48.2 (build 3).
I am going to add two simple lines to httpd.conf:
AddType application/x-miva .mv
Action application/x-miva /cgi-bin/miva
-and used the Include Editor in Pre Virtual Hosts (2.2.29); recompile/restart Apache. Checked that the line shows up in the “pre_virtualhost_global.conf”-file.
However the mime-type do not show at any user’s cPanel and CGI-scripts cannot run, shows error 500 (which don’t tell much).
The script-engine and .conf-file are placed in the Vhost’s cgi-bin.
That’s supposed to work as simple as that, and last time I did the set-up (2011) everything worked well right away, I followed exactly same procedure this time (chmod 0755 etc. on script-engine).
However, now there is a ModSecurity in cPanel and our Server Provider recommended us to buy the full ConfigServer version, which they kindly installed and configured for us. I tried to switch it “off”, but that didn’t change anything.
SuEXEC is “on” – everything in WHM stays in default mode – and in Service Configuration > Global Services > Directory Options, ExecCGI and other options are “on” except Includes and MultiViews “off” (all default settings). Have tried suEXEC “off” and Includes “on”, but still the same error 500 (nothing happens).
Do any of the WHM/cPanel experts here have any suggestion for what may be the problem – and how to solve it – or what I may do wrong...?
Many thanks for any help.
Centos 6.6 x86_64 vmware, WHM 11.48.2 (build 3).
I am going to add two simple lines to httpd.conf:
AddType application/x-miva .mv
Action application/x-miva /cgi-bin/miva
-and used the Include Editor in Pre Virtual Hosts (2.2.29); recompile/restart Apache. Checked that the line shows up in the “pre_virtualhost_global.conf”-file.
However the mime-type do not show at any user’s cPanel and CGI-scripts cannot run, shows error 500 (which don’t tell much).
The script-engine and .conf-file are placed in the Vhost’s cgi-bin.
That’s supposed to work as simple as that, and last time I did the set-up (2011) everything worked well right away, I followed exactly same procedure this time (chmod 0755 etc. on script-engine).
However, now there is a ModSecurity in cPanel and our Server Provider recommended us to buy the full ConfigServer version, which they kindly installed and configured for us. I tried to switch it “off”, but that didn’t change anything.
SuEXEC is “on” – everything in WHM stays in default mode – and in Service Configuration > Global Services > Directory Options, ExecCGI and other options are “on” except Includes and MultiViews “off” (all default settings). Have tried suEXEC “off” and Includes “on”, but still the same error 500 (nothing happens).
Do any of the WHM/cPanel experts here have any suggestion for what may be the problem – and how to solve it – or what I may do wrong...?
Many thanks for any help.