Re: subdomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



setting the error for the vhost to /dev/null or simular

~Jorge


On Wed, Jul 27, 2011 at 2:28 PM, Amira Othman <a.othman@xxxxxxxxxxxxxxx> wrote:
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:jorge.schrauwen@xxxxxxxxx]
Sent: Tuesday, July 26, 2011 1:08 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: 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 <a.othman@xxxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux