• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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