• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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