httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Access and Error Logs Being Created Before Reaching Maximum Size or Time
Date Fri, 08 Mar 2013 13:59:08 GMT
On Fri, Mar 8, 2013 at 1:02 PM, Steve Penner <> wrote:
> From the Internet, users can access my web server using EITHER name
> OR (provided by
> dynamic DNS).  The VHOSTS file sends them to different document routes
> depending on the name they chose.   In addition, I can enter
> "http://localhost" and be taken to a different document root (should not be
> accessible to those outside); this too defined in VHOSTS file (see below).

I have no clue on your rotatelogs issue, but your assumption that the
'localhost' vhost is not accessible from 'outside' is incorrect. This
vhost would be accessible to anyone connecting remotely and sending a
Host header with the value 'localhost'.

If you want it to truly be only accessible locally, you should define
multiple NameVirtualHost sockets, and restrict that vhost to solely
requests from the same machine.


NameVirtualHost *:80

<VirtualHost *:80>
   # externally accessible

  # internal only



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message