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 Merchant Setup?

Discussion in 'Plesk for Linux - 8.x and Older' started by sphiengollie, Jun 12, 2005.

  1. sphiengollie

    sphiengollie Guest

    0
     
    I am new to plesk, and think it's a great interface so far...

    Using 7.5.3 on RedHat el3

    I followed the instructions from miva to install mivavm

    The miva libs where put in /usr/local/miva

    I copied the certs dir to the cgi-bin dir

    also put libmivaconfig.so, mivavm, and mivavm.conf in the cgi-bin dir:
    mivavm is: 755 user psacln
    libmivaconfig.so: 644 user psacln
    mivavm.conf contains:
    mivaroot=/home/httpd/vhosts/domain.com/httpdocs
    stdmodedatadir=/home/httpd/vhosts/domain.com/mivadata
    cadir=/home/httpd/vhosts/domain.com/cgi-bin/certs
    openssl=/lib/libssl.so.4
    openssl_crypto=/lib/libcrypto.so.4
    sitevars=/home/httpd/vhosts/domain.com/sitevars
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/crypto.so>
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/file.so>
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/math.so>
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/string.so>
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/system.so>
    <BUILTIN-LIB LIBRARY=/usr/local/miva/lib/builtins/time.so>

    I made mivadata dir under domain.com with mod 755 user psacln

    put the Merchant2 dir in the httpdocs dir with: 755 user psacln

    cd into the httpsdocs dir and made a link to the Merchant2 dir with:
    ln -s ../httpdocs/Merchant2 Merchant2

    created vhost.conf and vhost_ssl.conf under the conf dir

    vhost.conf contains:
    SetEnv MvCONFIG_LIBRARY /home/httpd/vhosts/domain.com/usr/local/miva/lib/config/env.so
    SetEnv MvCONFIG_DIR_MIVA /home/httpd/vhosts/domain.com/httpdocs
    SetEnv MvCONFIG_DIR_DATA /home/httpd/vhosts/domain.com/mivadata
    SetEnv MvCONFIG_DIR_BUILTIN /home/httpd/vhosts/domain.com/usr/local/miva/lib/builtins
    SetEnv MvCONFIG_DIR_CA /home/httpd/vhosts/domain.com/usr/local/miva/certs

    AddType application/x-miva-compiled .mvc
    Action application/x-miva-compiled /cgi-bin/mivavm

    vhost_ssl.conf contains:
    <Directory /home/httpd/vhosts/domain.com/httpsdocs>
    Options +FollowSymLinks
    AllowOverride None
    </Directory>

    DocumentRoot /home/httpd/vhosts/domain.com/httpdocs/

    AddType application/x-miva-compiled .mvc
    Action application/x-miva-compiled /cgi-bin/mivavm

    -----

    Restarted apache

    The standard html comes up, but when I try to access anything miva I get: error 403 Forbidden

    What do I need to do/change?

    -----

    error_log said: (13)Permission denied: file permissions deny server access:

    did this:
    /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com

    error_log now says: (13)Permission denied: /home/httpd/vhosts/domain.com/cgi-bin/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
     
  2. sphiengollie

    sphiengollie Guest

    0
     
    I got it...

    # chmod 751 cgi-bin httpdocs httpsdocs

    working now...
     
  3. acidbox

    acidbox Guest

    0
     
    I am trying to install miva5 on my plesk 7.5.4 box and I have a couple questions.

    You copied the empressa files into the /usr/local/miva in the root of the server right?

    Now, from this point on, are you still talking about the root of the server, or working underneath a domain's /vhost/ dir? ie: copying the certs to the cgi-bin etc...

    Thanks.. I just don't want to screw it up :)
     
  4. acidbox

    acidbox Guest

    0
     
    Nevermind, I guess it all goes under the vhost.
     
Loading...