change the effect of 302 Found with apache
I am currently in the process of retiring an old server, it is currently running apache 1.3, if an A record of a website is pointing at the server, but there is no definition of the site in apache, it gives a 302, and forwards the request to the servers primary hostname and domain. what i want to do is have apache put up a page with the name of the domain they requested in the address bar, instead of forwarding the user to a different domain.
i.e. if someone requests the server on its ip address, it should not forward their requiest to host.example.com, but rather just serve the default page on that ip address.
this will allow me to write a script to forward them to the correct server.
any help would be greatly appreciated