• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Miva Merchant Setup?

S

sphiengollie

Guest
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
 
I got it...

# chmod 751 cgi-bin httpdocs httpsdocs

working now...
 
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 :)
 
Back
Top