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.

how to enable a domain to use its own /webmail dir

Discussion in 'E-mail Discussions' started by scottc, Oct 18, 2005.

  1. scottc

    scottc Well-Known Member

    Joined:
    Apr 21, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    I have a couple of clients who want to use a directory called webmail within their domain. The default cpanel setup redirects all requests for the webmail directory to the webmail login page. How can I disable that redirect for a single domain? I've tried adding scriptalias directives in the virtual host section of httpd.conf for the domain but I guess I don't understand Apache well enough to do this right.

    Thank you.

    Scott
     
  2. nisse

    nisse Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    Put this in the domain's virtual host section:

    Alias /webmail /home/USER/public_html/webmail

    replacing USER with the username for the domain.
     
  3. scottc

    scottc Well-Known Member

    Joined:
    Apr 21, 2002
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Thank you, nisse! That worked perfectly.

    Scott
     
Loading...

Share This Page