1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ScriptAlias in vhost.conf not working

Discussion in 'Plesk for Linux - 8.x and Older' started by paulwilson159, Jul 1, 2005.

  1. paulwilson159

    paulwilson159 Guest


    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?