httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: IP address -> Name
Date Sun, 26 May 2002 18:29:35 GMT
On Wed, 29 May 2002, Ashutosh Kadakia wrote:

> Got a question.
> I have a remotely hosted site. I assume is virutally hosted.
> I would like to deny access to people who have the wrong address meaning if
> the address is and the ip address is i dont
> want people to be able to access it using
> Im not sure if its possible on a virutally hosted remote site (to which i do
> not have access to the config files. it needs to be done thru .ht files)

This is very easy if you are doing name-based virtual hosting. Accessing
the server by IP address can be handled one of two ways. Either you
explicitly call a name-based vhost by the name "", or you just
let the _default_ vhost catch all hosts that don't explicitly match a

Rich Bowen
Apache - mod_perl - Perl - CGI

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

View raw message