Re: [users@httpd] apache 2.4 wildcardsubdomains

2016-09-13 Thread Hajo Locke
Hello, Am 13.09.2016 um 13:00 schrieb Daniel: Always define a ServerName, AFAIK *.example.com would not be valid in 2.2 either, even if it let you define it without error, ServerName should always have a valid resolvable name, at least from the client that will query it.

Re: [users@httpd] apache 2.4 wildcardsubdomains

2016-09-13 Thread Daniel
Always define a ServerName, AFAIK *.example.com would not be valid in 2.2 either, even if it let you define it without error, ServerName should always have a valid resolvable name, at least from the client that will query it. Note that if you have several virtualhosts ServerName is important so ht

[users@httpd] apache 2.4 wildcardsubdomains

2016-09-13 Thread Hajo Locke
Hello List, in apache 2.2 we had a typical vhost like this to realize wildcardsubdomains: ServerName *.example.com ServerAlias *.example.com DocumentRoot /var/www/wildcardexample/public_html In apache 2.4 wildcards are not allowed in servername. Is it ok to just comment out servername and