Dave Lane
22nd June 2006, 14:07
When I create or edit a site using the ISP Manager using the form on ISP Site -> Basis (tab), I find that if the "hostname" field in the form always defaults to "www". This is a problem as I routinely create sites with a name like this:
hostname = '' // i.e. *blank*
domain = 'fqdn.tld'
and then create "co-domains" like www.fqdn.tld which is aliased to fqdn.tld.
As a result, every time I view the Basis tab, I have to manually clear the "www" that defaults into the intentionally empty "hostname" field. If I don't, and either save the form or go to another tab, the "www" is saved as the value for the site hostname - a behaviour I consider a bug...
I've spent an hour or so going through the code trying to find where that "www" is injected, but as yet haven't been able to find it - I was hoping Till or Falko or another developer familiar with ISPConfig (is this a theme or template issue??) can point me in the right direction, as it's causing me a lot of annoyance...
Oh, and I'm running ISPConfig 2.2.2 on Ubuntu Dapper 6.06 with Postfix, Dovecot, MySQL, etc.
Thanks very much,
Dave
hostname = '' // i.e. *blank*
domain = 'fqdn.tld'
and then create "co-domains" like www.fqdn.tld which is aliased to fqdn.tld.
As a result, every time I view the Basis tab, I have to manually clear the "www" that defaults into the intentionally empty "hostname" field. If I don't, and either save the form or go to another tab, the "www" is saved as the value for the site hostname - a behaviour I consider a bug...
I've spent an hour or so going through the code trying to find where that "www" is injected, but as yet haven't been able to find it - I was hoping Till or Falko or another developer familiar with ISPConfig (is this a theme or template issue??) can point me in the right direction, as it's causing me a lot of annoyance...
Oh, and I'm running ISPConfig 2.2.2 on Ubuntu Dapper 6.06 with Postfix, Dovecot, MySQL, etc.
Thanks very much,
Dave