• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

alias for openwebmail and awstats

B

bram

Guest
Hey,

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
</Directory>
### End - Added by openwebmail installer ###

thanks for help.

kind regards,

bram
 
Originally posted by bram
Hey,

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
</Directory>
### End - Added by openwebmail installer ###

thanks for help.

kind regards,

bram

/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
/home/httpd/vhosts/<domain>/conf/
and for sub-domains
/home/httpd/vhosts/<domain>/subdomains/<subdomain>/conf

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
 
Back
Top