> I'm guessing that apache 2.4 does not search for more specific > ServerName if it matches a wildcard ServerAlias ? Not sure I'm following what's behaving different. Can you simplify your example/claim in both releases? I couldn't get an unexpected result: <virtualhost localhost:80> ServerName www.example.com </virtualhost> <virtualhost localhost:80> ServerName gone.example.com RewriteEngine on RewriteRule .* - [G] </virtualhost> <virtualhost localhost:80> ServerName forbidden.example.com ServerAlias *.example.com RewriteEngine on RewriteRule .* - [F] </virtualhost> covener@cov-t61p:~/SRC/httpd-2.4.x$ printf "GET / HTTP/1.1\r\nHost: forbidden.example.com\r\n\r\n" | nc 0 80 HTTP/1.1 403 Forbidden Date: Thu, 15 Mar 2012 13:54:10 GMT Server: Apache/2.4.2-dev (Unix) OpenSSL/1.0.0e Content-Length: 202 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access / on this server.</p> </body></html> covener@cov-t61p:~/SRC/httpd-2.4.x$ printf "GET / HTTP/1.1\r\nHost: gone.example.com\r\n\r\n" | nc 0 80 HTTP/1.1 410 Gone Date: Thu, 15 Mar 2012 13:54:13 GMT Server: Apache/2.4.2-dev (Unix) OpenSSL/1.0.0e Content-Length: 295 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>410 Gone</title> </head><body> <h1>Gone</h1> <p>The requested resource<br />/<br /> is no longer available on this server and there is no forwarding address. Please remove all references to this resource.</p> </body></html> covener@cov-t61p:~/SRC/httpd-2.4.x$ printf "GET / HTTP/1.1\r\nHost: foo.example.com\r\n\r\n" | nc 0 80 HTTP/1.1 403 Forbidden Date: Thu, 15 Mar 2012 13:54:18 GMT Server: Apache/2.4.2-dev (Unix) OpenSSL/1.0.0e Content-Length: 202 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access / on this server.</p> </body></html> covener@cov-t61p:~/SRC/httpd-2.4.x$ printf "GET / HTTP/1.1\r\nHost: www.example.com\r\n\r\n" | nc 0 80 HTTP/1.1 200 OK Date: Thu, 15 Mar 2012 13:55:22 GMT Server: Apache/2.4.2-dev (Unix) OpenSSL/1.0.0e Last-Modified: Fri, 11 Nov 2011 17:43:44 GMT ETag: "2d-4b1790ff95400" Accept-Ranges: bytes Content-Length: 45 Content-Type: text/html <html><body><h1>It works!</h1></body></html> covener@cov-t61p:~/SRC/httpd-2.4.x$ printf "GET / HTTP/1.1\r\nHost: bar.com\r\n\r\n" | nc 0 80 HTTP/1.1 200 OK Date: Thu, 15 Mar 2012 13:56:06 GMT Server: Apache/2.4.2-dev (Unix) OpenSSL/1.0.0e Last-Modified: Fri, 11 Nov 2011 17:43:44 GMT ETag: "2d-4b1790ff95400" Accept-Ranges: bytes Content-Length: 45 Content-Type: text/html <html><body><h1>It works!</h1></body></html> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx