Home Man
Search
Today's Posts
Register

Discuss UNIX and Linux computer and network security, cyber security, cyber attacks, IT security, and more.

configure apache to accept request form specific IP

Tags
apache2, security

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 03-21-2011
configure apache to accept request form specific IP

Hi,

What should I change in the httpd.conf so that the apache will accept request from page from specific IP and deny all the rest IP.

I am reading the document of the apache but it is very long (700 pages) and I searched but I could not find something about this.
So if someone can explain me how to do this specific thing, I will be glad?

The direction that I think about is:
Code:
<Directory / >
Order allow,deny
Allow from IP1,IP2
</Directory>

while IP1 and IP2 are replaced with the IP numbers that I want to allow.
However I want to make sure it will reject all other IP request.


Thanks in advance.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache vhost - debug web request coolatt Linux 4 11-04-2015 12:09 PM
Perl script to accept specific columns from excel omkar.jadhav Shell Programming and Scripting 4 03-20-2015 12:36 PM
Configure Solaris to accept Active Directory user logins BG_JrAdmin Solaris 2 03-14-2013 04:37 PM
Urgent request to consider:Search specific name in a file and fetch specific entries manigrover Shell Programming and Scripting 1 10-16-2012 08:38 AM
Creating a web based id request form wjssj Programming 2 04-14-2011 07:02 PM
configure apache to work with ssl programAngel IP Networking 1 03-29-2011 01:01 PM
Copy and forward apache http request JCR Web Programming 1 06-04-2010 01:48 PM
Apache log with long strings of Xs in GET request z1dane Web Programming 4 08-21-2009 07:15 PM
configure php with postgresql and apache sdbeng UNIX for Advanced & Expert Users 5 09-21-2008 01:21 PM
Shell program to accept multiple request at the same time tcskurra Shell Programming and Scripting 3 06-05-2008 11:29 AM


All times are GMT -4. The time now is 05:57 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password