• 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.

Trying to Install DigiShop

G

gtowle

Guest
Trying to Install DigiShop (open_basedir issue)

So I've gone through and created vhost.conf and vhost_ssl.conf in the /var/www/vhosts/<domain>/conf directory. I've run 'websrvmng --reconfigure-vhost --vhost-name=<domainname>' and restarted Apache. The installation wizard said everything was good and I moved on to open the admin cp. But I'm getting a 404 not found message when I try to navigate to the admin directory. and when I try the root (www.<domain>.com) it comes up as "http://127.0.0.1/digishop/cart.php" Object Not Found.

Not sure where I've gone wrong.

I'm not sure if I need both the vhost.conf and vhost_ssl.conf files (httpd.include only includes the vhost.conf file).

Code in my vhost.conf file is as follows:

<Directory /var/www/vhosts/<domain>/httpdocs>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir /var/www/vhosts/<domain>/:/tmp
</Directory>

Is anyone familiar with any of this? (I am not a web server pro, in case you didn't notice.) Thanks in advance.
 
Sounds like a configuration issue in one of the DigiShop files. Somehow the files are being redirected to 127.0.0.1, which is your local computer.

SumEffect, makers of DigiShop, offer free installation with a 4-day turn-around. I recommend utilizing their services.
 
I've been working with the Sumeffect guys today. They're telling me it's a server issue, that the SSL directory needs to be configured properly (and paying them for install won't resolve this issue). As for the configuration you mention, it's coming up with that IP because the config file that should have the updated URL info was not getting written to, I'm assuming because of the this SSL directory issue.

http directory works fine. When I navigate to the https directory on the web, I get the Plesk server default page. I feel it still has something to do with the open_basedir modifications I'm attempting to make. I've searched the web for info on the open_basedir issue and found similar yet different "opinions."

What I have done is create both a vhost.conf and vhost_ssl.conf file in the same conf directory as the httpd.include file.

I have then run /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain>.com AND restarted Apache. But still not working.

The code that I have within the vhost.conf file is above. vhost_ssl.conf is:

<Directory /var/www/vhosts/<domain>/httpsdocs>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir /var/www/vhosts/<domain>/:/tmp
</Directory>

First of all, I don't know what this is doing or if the open_basedir path is correct (I've seen variations, such as "/var/www/vhosts/httpdocs:/tmp" and "none".) I've tried them both and neither work.

Second, I read in the Plesk 7 KB that when the server is reconfigured (using the websrvmng command above) that an Include will be written into the httpd.include file. There is in fact now an Include for the vhost.conf file, but not the vhost_ssl.conf file, and I'm wondering if there should be.

Third, I've seen the open_basdir path written within quotes and without. Does that matter?

Last, the http.include file has <IfModule sapi_apache2.c> and <IfModule mod.php5.c> within the <Directory> statements. Should I be including those?

Sorry for the long post - just trying to give as much info in hopes of getting some help. Thanks.
 
Okay, okay. So I'm a newbie. But I'm not too embarrassed to tell all of you, and hopefully anyone else who may need to learn this information, that within Plesk, on the Setup page of any physical hosting domain, there exists a check box to enable SSL support. And, it works. (Thank God!)
 
Back
Top