Thx for reply 
When I added vhost for mx record it works fine but I have error in log file 
that access is denied which will cause log file size increase. any suggestions 
on how to prevent this error from been written in log

Regards
Amira Othman
Server Administrator
www.cairosource.com


6 EL Nil EL Abyad, Mohandiseen 
Cairo, Egypt
Direct:     +2 02 3303 7175
Mobile:   +2 012 220 4165

The information transmitted is intended solely for the individual or entity to 
which it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of or taking action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you have received this email in error please 
contact the sender and delete the material from any computer.


-----Original Message-----
From: Jorge Schrauwen [mailto:[email protected]] 
Sent: Tuesday, July 26, 2011 1:08 PM
To: [email protected]
Subject: Re: [users@httpd] subdomain

I usually make a vhost for the hostname associated with the mx record,
The vhost serves no content, just does a Deny All.

This is probably the simplest solution.

~Jorge



On Tue, Jul 26, 2011 at 10:24 AM, Amira Othman <[email protected]> wrote:
> Hi all
>
>
>
> 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
>
> thanks

---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to