On 26.07.11 11:24, Amira Othman wrote:
I am using apache httpd-2.2.3-43.3 on centos 5.6.i have 5 virtual hosts .the server is also mail server and has mx record how can I deny access to url of mx record as it now goes to default virtual host. Any way to block using apache or I should use iptables
You can use firwall rules (e.g. iptables) if the MX uses different IP. But in such case, you also can make apache not to listen on that IP.
-- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. - Have you got anything without Spam in it? - Well, there's Spam egg sausage and Spam, that's not got much Spam in it. --------------------------------------------------------------------- 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