LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2004, 09:28 PM   #1
hct224
Member
 
Registered: Jun 2003
Distribution: Redhat
Posts: 87

Rep: Reputation: 15
allow certain IPs access VirtualHost


Hi,
Is it possible to setup VirtualHost(apache web server) to allow certain IPs access to it?
ie.
Code:
<virtualHost *:80>
DocumentRoot /path/to/DocRoot

Allow  192.168.0.1 
          192.168.0.2
           .............................
Deny All

</VirtualHost>
Thanks

ps. I'm using Apache 2.0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access ips outside of my network niklasw19 Linux - Networking 3 06-01-2005 07:04 PM
how to define a specific range of IPs and/or multiple IPs in an iptables rule?... TheHellsMaster Linux - Security 9 09-20-2004 11:06 AM
VirtualHost amdathlonboy Linux - Networking 2 06-22-2004 06:23 AM
can you restrict ftp USER access to certain ips? linuxboy69 Linux - Software 2 02-26-2004 05:05 PM
#<VirtualHost *> ??? linux 9 help maxboost Linux - Software 2 11-07-2003 09:21 PM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration