• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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