• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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