LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2002, 09:54 AM   #1
syphon00
Member
 
Registered: Aug 2002
Posts: 33

Rep: Reputation: 15
Exclamation Apache config question


I'm running the latest ver of Apache on Redhat 7.3 pro
at the bottom of the main config window there is a
place to edit avaliable addresses.

currently it says all available addresses on port 80
I understand what that means don't really know how it works
what I need to do is make it so that it'll only allow a range
of ip's to view the site since it'll be an internal site for my company

let's say I want it to allow ip's ranging from
170.140.85.22 - 170.140.85.100
how do I add that?

thanks

Last edited by syphon00; 09-06-2002 at 09:56 AM.
 
Old 09-06-2002, 10:49 AM   #2
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 443

Rep: Reputation: 30
When ever I go into webmin I have config icons one of which I can use to edit which IP's can access the server.
 
Old 09-06-2002, 11:50 AM   #3
peter_robb
Moderator
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
The access control can be done Directory by Directory.

Each Directory has an entry in the httpd.conf file
<Directory>
Order allow,deny
allow from
deny from
</Directory>

See http://httpd.apache.org/docs-2.0/howto/auth.html for how to use it.
I don't know which configuration tool you are using, but editing the file directly works,
then restart the httpd server.

Regards,
Peter
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache CGI config question (index scripts) rjlee Linux - Networking 1 06-26-2005 06:07 AM
PHP and Apache -- Config question j0217995 Slackware 4 11-05-2004 10:09 AM
apache 1.3 config question; default document? soliant Linux - Software 1 03-25-2004 11:50 AM
apache httpd.config question fibbi Linux - Software 4 10-18-2003 10:07 AM
Apache: Virtual Host Config question rajanr Linux - Software 5 08-30-2003 12:41 PM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration