We have clients that have ServerAlias *.example.com in their vhost.conf, so they can use mod_rewrite or other code to use 'virtual subdomains'. This used to work just fine under Plesk 8.6, but under Plesk 9.2.2 it seems that webmail.example.com is also catched by this ServerAlias, so webmail is effectively unreachable. I think this might have something to do with Horde config being in a separate file in /etc/httpd/conf.d/ and being loaded after the Plesk configuration.
Does anyone have an idea on how to be able to use virtual subdomains without explicitly listing all virtual subdomains (instead of *.example.com)? Listing them all individually is not an option for a number of customers as this list changes frequently.
Plesk 9: wildcard ServerAlias and webmail not compatible?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Plesk 9: wildcard ServerAlias and webmail not compatible?
Lemonbit Internet Dedicated Server Management
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
Maybe try setting horde to load up before the plesk config?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
The config files in /etc/httpd/conf.d/ are probably loaded in alfabetical order and yeah, these are the last two:
I could change one of these filenames to change the order, but that doesn't feel like a great and stable solution. Any change in Plesk will probably undo this, right?zz010_psa_httpd.conf
zzz_horde_vhost.conf
Lemonbit Internet Dedicated Server Management
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
Seems I'm not the only one having this problem: http://forum.parallels.com/showthread.php?t=91870
Lemonbit Internet Dedicated Server Management
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
what about a symlink from 00_horde.conf to zzz_horde_vhost.conf ? That won't get overwritten and will get loaded first.
Sure, you'll get errors when zzz_horde(etc) then gets loaded twice, but maybe it will work anyway?
Of course maybe there's a reason why the plesk config has to load before the horde one
Faris.
Sure, you'll get errors when zzz_horde(etc) then gets loaded twice, but maybe it will work anyway?
Of course maybe there's a reason why the plesk config has to load before the horde one
Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4149
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
I know one sure fire way to find out!
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Re: Plesk 9: wildcard ServerAlias and webmail not compatible?
The problem seems to be more general: the webmail subdomain for all domain aliases is not showing Horde, but the site. This looks like a bug in Plesk 9(.2.2). Others seeing this?
Lemonbit Internet Dedicated Server Management