In case of remote installation, store works as a client and Parallels Business Automation - Standard Management Node works as server.
For store to work remotely, the Management Node URL, store http root path, and either a vendor account login/password or (for Parallels Business Automation - Standard version no lower than 3.3.2) vendor Secure Key must be specified in the store configuration file.
If you use a remote store installation, you can customize the original store files, because in this case, store is independent from Parallels Business Automation - Standard and its files are not affected by any of Parallels Business Automation - Standard upgrades.
Note: For remote Store installation the File Manager available in Provider (or Reseller) Control Center does not affect Store and can be used for uploading static content to vendor's site.
If a remote store installation is allowed for reseller, then reseller can customize all store files.
To install store on a remote server:
/etc/hspcd/conf/hspc_ssl.conf file: Change Allow from none
Into Allow from store_hostname|store_ip
where store_hostname|store_ip must be replaced with either your store hostname, or store IP address, or both store hostname and IP in one string divided with space.
Save the changes to hspc_ssl.conf file.
Restart httpd.
settings.ini file (in this example, the path to this file is specified starting from the store root directory hspc-frontend/)includes/settings.ini
HSPCOMPLETE_SERVER = https://store_server_hostname
where store_server_hostname must be replaced with hostname of the server where store files are copied. Do not forget that secure connection (https) must be used.
/hspc/ and it works for store default local installation. For store remote installation, HTTP_ROOT MUST BE REDEFINED according to an actual store files location. This is very important for correct work of store payment page in case of redirect payment, to correctly redirect a customer back to store after entering payment data at a payment gateway secure page.For example, if you have copied store files directly into web server document root then specify:
HTTP_ROOT= /
If you have copied store files into some directory under web server document root, for example, into var/www/html/store directory, then specify:
HTTP_ROOT= /store/
VENDOR_EMAIL = e-mail
where e-mail must be replaced with an actual e-mail address.
VENDOR_PASSWORD = password
where password must be replaced with an actual password.
Important: If you use secure key for authorization and thus, you specify the secure key in the store configuration file, then DO NOT SET login/password, comment these strings.
If both Parallels Business Automation - Standard and store version is 3.3.2 or newer, you can specify the key generated for your store hostname using the tools provided in PCC > Commerce Director > Store Manager > Configure Store > Security Settings. To specify the key, discomment and set:
SECURE_KEY = your_key
where your_key must be replaced with an actual key.
settings.ini file.