Announcement

Collapse
No announcement yet.

Installing Miva Empressa on Linux/Apache/Plesk server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installing Miva Empressa on Linux/Apache/Plesk server

    I don't know why I find installing Miva Empressa on our server so challenging :-(

    I have empressa running fine on two other domains and am hung up getting it properly installed on another domain.

    I am running Linux on a Plesk 12.5 server.

    I have checked and double-checked that the set-up is the same on the problem domain as on the working domains. Same ownership, permissions, etc.

    With this version of Plesk, the conf files are kept in ../system/domain.com/conf

    So, I have vhost.conf and vhost_ssl.conf in there.

    In the directory for the domain, I have a symbolic link from conf to system/domain.com/conf

    I have run /usr/local/psa/admin/sbin/httpdmng --reconfigure-all to reload the conf file and restarted apache.

    When I run the diagtools.mvc I get page not found. The page is definitely there.

    I feels to me like somehow the server is not using the conf

    Any help would be greatly appreciated.

    Thank you so much in advance!
    ---------------------------------
    Robin McDermott, CQE
    Director of Training
    QualityTrainingPortal.com

    #2
    If you're getting a not found instead of your browser trying to download the diagtools.mvc file, then it sounds like your vhost files are fine. If those were not properly set up to tell the server to use Empresa for *.mvc requests, then the server would have served you the diagtools.mvc file to download instead of telling you 404. That being the case, I'd check your cgi config for the site in question; make sure cgi scripts are enabled, that the cgi-bin being used is the one you expect and that the mivavm binary is present.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment


      #3
      Oh my goodness! Thank you so much David. You pointed me in the right direction! Plesk now puts the CGI-BIN folder in the httpdocs. I had migrated (using Plesk Migration Manager) my other two sites that use the Miva engine through Plesk and that set everything up the way it was on the old server including a line that indicates the cgi-bin directory is at the root of the webspace (instead of the default root of the httpdocs directory. Setting up a new site, it puts it into the httpdocs directory without a way to change that using the Plesk interface. I moved the CGI-BIN directory to the httpdocs and it is working.

      I CANNOT thank you enough!

      Robin
      ---------------------------------
      Robin McDermott, CQE
      Director of Training
      QualityTrainingPortal.com

      Comment


        #4
        It's very annoying, and less secure. I recommend moving it back to where you expected it to be. To do this without any interruption in service, you can just copy the existing cgi-bin up to the same level as httpdocs (preserving permissions/ownership, so use cp -Rp or rsync) and then run the following command:

        /usr/local/psa/bin/domain -u DOMAIN.COM -cgi true -cgi-mode webspace

        Just replace domain.com with the actual domain. 'webspace' tells it to use cgi-bin at the same level as httpdocs, as opposed to 'www-root' which means within httpdocs. They removed the option from the web interface for some stupid reason.
        David Hubbard
        CIO
        Miva
        [email protected]
        http://www.miva.com

        Comment

        Working...
        X