The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server wide redirects issue.

Discussion in 'General Discussion' started by Misiek, Oct 5, 2015.

  1. Misiek

    Misiek Well-Known Member

    Joined:
    Feb 23, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Dear All,
    One of my client asked for a redirection of domian.com/webmail becuse many people for a few years now use this address.

    I tried to correct the problem by user virtualhost
    I created a file
    /usr/local/apache/conf/userdata/std/2_2/user/domain.com/webmail.conf
    In this file I entered :
    Code:
    ScriptAlias /webmail /home/user/public_html/
    ScriptAliasMatch ^/?webmail(/.*|/?)$ /home/user/
    After ensuring its ok and restarting apache nothing changed.
    Can anybody give a hint why ? The changing of global redirect is impossible.
    Regards,
     
Loading...

Share This Page