Graham Clarke did speak thusly:
mod_vhost_alias takes the requested URL and matches a directory on the server. The point of using mod_vhost_alias is so you don't have to create vritual host record for each site on your server.my domain is setup as a wildcard domain, so *.mydomain.com will not produce a DNS error.
---------------- End original message. ---------------------OK, so you did not state that originally which is why I made the assumption I did.
So does the ErrorDocument directive not work for you? http://httpd.apache.org/docs/2.2/mod/core.html#errordocumentYou would put the appropriate directive in the default vhost section and it should work if I am not mistaken.
Dragon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx