1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Miva 3.14 install

Discussion in 'Plesk for Linux - 8.x and Older' started by digitalc, Jul 30, 2006.

  1. digitalc

    digitalc New Pleskian

    22
     
    Joined:
    Jul 30, 2006
    Messages:
    4
    Likes Received:
    0
    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!
     
  2. Galactic Zero

    Galactic Zero Guest

    0
     
    Where are you putting the script files?
     
  3. digitalc

    digitalc New Pleskian

    22
     
    Joined:
    Jul 30, 2006
    Messages:
    4
    Likes Received:
    0
    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.
     
  4. Galactic Zero

    Galactic Zero Guest

    0
     
    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?
     
  5. digitalc

    digitalc New Pleskian

    22
     
    Joined:
    Jul 30, 2006
    Messages:
    4
    Likes Received:
    0
    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!
     
Loading...