• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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