• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Miva 3.14 install

digitalc

New Pleskian
Hello!

I am trying to install an old Miva Merchant version 4.13 with Miva Empresa Version 3.9602. I am trying to install this on a RHEL 4 server running Plesk 7.54.

Plesk runs all cgi-bin files with an suexec. Inside the httpd.include file there is a line that is:

Suexecusergroup user group

If you remove this Miva will run, however with it Miva fails. I know the simple solution is just to run Miva without it but it is not that simple. Plesk auto rebuilds the httpd.include file everytime you make a host change within Plesk.

I am curious if anyone knows how to make Miva 4.13 run with a Suexecusergroup running on a Plesk vhost or has any other solution?

Thank you in advance!
 
I have the "Merchant2" script directory in httpdocs and I have the miva data folder at the root of the vhost. Then miva and miva.conf are in the cgi-bin directory. I have an authfile.conf in the /usr/local/miva/conf/ directory and finally I have the certs at /usr/local/miva/certs. I have tried moving the /usr/local/miva folder inside the vhost but that didn't change anything.
 
Hum.. that doesn't look like the standard psa hosting dir path of /home/httpd/vhosts/domain.tld/

You should put all cgi files in the /cgi-bin
then in the httpdocs dir you can create the /miva dir and stuff.

That is if you are running PSA... So, if you're are running PSA what is your path to the domain?
 
Alright, finally fixed!!! For anyone running Miva 4.13 on a Plesk server you must do the following:

Add this to the vhost.conf and vhost_ssl.conf:

AddType application/x-miva .mv
Action application/x-miva /cgi-bin/miva

Then:

chmod 0755 ../cgi-bin/miva <--- Manual says 4755 but that won't work.
chown pleskuser: psacln ../cgi-bin/miva

Change permissions on all files to: pleskuser: psacln <-- (pleskuser being your individual plesk user.)

Move the authfile.conf from usr/local/miva/ to the mivadata (I called it mivadata) directory within the vhost: cp /usr/local/miva/conf/authfile.conf ../mivadata/
** Make sure you change this in the miva.conf file

Change authfile.conf to say:

pleskuser=/var/www/vhosts/pleskdomain/mivadata

Move the certs to: ../cgi-bin/
** Also change this in the miva.conf

Run this for plesk:
# /usr/local/psa/admin/sbin/websrvmng -a -v <--(Rebuild Plesk Config)
# /sbin/service httpd restart <-- (Restart httpd)

MIVA 4.13 AND Empresa Version 3.9602 running on Plesk 7.54 and RHEL 4 with suexecusergroup!

Just want to say thanks to Samual at Rackspace for helping me solve this!
 
Back
Top