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

alias for openwebmail and awstats

Discussion in 'Plesk for Linux - 8.x and Older' started by bram, Jan 20, 2005.

  1. bram

    bram Guest


    We are migrating our cobalt raq 550 to plesk 7.5.1 with virtuozzo.
    We have installed openwebmail. Now we want make openwebmail available for all domains on the server with the map /webmail (example: http://www.domain.com/webmail).

    On our raq we place an alias in the srm.conf. How can we make an alias in plesk 7.5.1 for all domains.

    ex srm.conf:

    ### Begin - Added by openwebmail installer ###
    Alias /openwebmail /var/www/data/openwebmail/
    Alias /webmail /var/www/data/openwebmail/
    ScriptAlias /openwebmail-cgi /var/www/cgi-bin/openwebmail/
    <Directory /var/www/cgi-bin/openwebmail/>
    AllowOverride All
    ### End - Added by openwebmail installer ###

    thanks for help.

    kind regards,

  2. iMedia

    iMedia Guest

    /etc/httpd/conf/httpd.include should already have ServerAlias for webmail.<domain>.com for all domains.

    Try: http://webmail.<domain>

    However, if you wish to add your own directives as you mentioned, you must first create a file "vhost.conf" in the vhost/conf directory...
    I'm not sure how virtuozzo is configured, but for me it's
    and for sub-domains

    don't touch the httpd.conf file already present in the <domain>/conf directory. It will get re-written by Plesk.

    after creating the file, you must instruct Plesk to reconfigure <domain>/conf/httpd.conf to include the new vhost.conf file:

    #/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain>
    Ref: http://download1.sw-soft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-admins-guide-html/apas02.html

    add your directives in vhost.conf and restart apache