Installing Proxy Store in Virtual Host With Plesk CP

Problem

How to install proxy store in virtual host with Plesk?

Solution

Installing proxy store in virtual host with Plesk differs depending on provider's store access protocol and OS used for managing virtual host. Plesk is provided with Apache by default. For proxy store proper running mod_proxy and mod_rewrite Apache modules should be activated.

Proxy store can be configured to be accessed through HTTP, HTTPS or both protocols. Access protocol selection depends on provider's online store access protocol. If provider's online store is accessed through HTTP protocol, access to proxy stores should also be configured through HTTP protocol. If provider's online store is accessed through HTTPS protocol, access to proxy stores can be configured through HTTPS or both protocols.

Usually, if you need to configure access to online store through both protocols, proxy store should be installed twice. Plesk allows installing one proxy store in this case.

To install proxy store in virtual host with Plesk, perform the following steps:

  1. Activate Apache mod_proxy and mod_rewrite modules. Modules activation depends on OS. For example, OS RedHat activates these modules by default, OS Debian requires manual modules activation through console.
  2. If access to provider's online store is configured through HTTPS protocol, enable SSLProxyEngine parameter. The following string should be added to respective domain configuration file through console: SSLProxyEngine on. The file location depends on OS, for example, /var/www/vhosts/<domain name>/conf/XXXXXXXXX.XXXXXX_httpd.include for Red Hat.
  3. Log in to Plesk CP.
  4. Select required domain from domains list. Open Setup menu.
  5. Select SSL Engine check box in the Preferences section, if access to both online stores (provider's and proxy) is configured through HTTPS protocol.
  6. Select Use a single directory for housing SSL and non-SSL content check box in the Preferences section, if you want to configure access to proxy online store through both protocols.
  7. Memorize or write down login and password from the Account Preferences section.
  8. You can find the path to document root in domain File Manager menu. Usually, it is httpdocs or httpsdocs. If check box from step 6 is selected, document root is httpdocs.
  9. Log in to Billing.
  10. Add new online store. For details, refer to the Adding Online Store section earlier in this guide.
  11. Select newly created online store for editing. For details, refer to the Selecting Online Store for Editing section earlier in this guide.
  12. Configure access to online store using FTP settings. For details, refer to the Configuring Additional Online Store section earlier in this guide.

Note:
1. If you want to configure access through HTTPS protocol, make sure that SSL certificate is installed in virtual host.
2. Plesk for Windows domain is not supported for installing Proxy Store.
3. Standalone IIS Windows host is not supported for installing Proxy Store.