• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

ScriptAlias in vhost.conf not working

P

paulwilson159

Guest
Hello

Sorry if this has been answered before, but I could not find it:

We want to redirect a folder from one cgi-bin to another for an ecommerce setup

We have a redirect in place to bring any visits to the (DOMAIN1) ecommerce page, and then we want to script alias the ecommerce project to another domain (DOMAIN2), which has a secure certificate.

So our vhost.conf looks like:

RedirectMatch ^/$ http://DOMAIN1/cgi-bin/store7/commerce.cgi
ScriptAlias /cgi-bin/store7/ /home/httpd/vhosts/DOMAIN2/cgi-bin/store7/

This is the first time we have done this before, although the client has had this working on a Unix server, before moving to the Plesk FC2 server.

Any ideas or alternatives?

Paul
 
Back
Top