httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Apache virtualhost order deny, allow works only on localhost; ignores public IP for allow
Date Tue, 25 Jun 2013 15:22:05 GMT
On Tue, Jun 25, 2013 at 11:12 AM, Kirk Woellert <kdwoell@gmail.com> wrote:
> Ok, there are two clients in this thread, 1 is the client on the server
> console and is my personal linux system which is on the Internet. The
> /etc/hosts file on the server has an entry so that the alias in the vhost
> block resolves when testing on the server. Are you saying I need to edit the
> /etc/hosts file on my linux pc?

Yes.  If you want to use a hostname to discriminate between virtual
hosts, your client has to use that hostname.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message