LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-27-2006, 05:38 AM   #1
pulper
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Rep: Reputation: 0
apache for intranet use only - can i block internet access?


I want to set up Apache/PHP/Mysql on my home computer and office server. Is there anything specific i have to do to the apache configuration so that this is only used for INTERNAL development of programs, and the webserver cannot be seen/accessed from the internet?

Thanks,

Paul
 
Old 08-27-2006, 05:58 AM   #2
edman007
Member
 
Registered: Sep 2003
Distribution: slackware-current
Posts: 173

Rep: Reputation: 30
make it bind only to 127.0.0.1, i think it would just be "Listen 127.0.0.1:80" and "BindAddress 127.0.0.1" in your httpd.conf and that should do it
 
Old 08-27-2006, 06:11 AM   #3
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
why don't you reject traffic at port 80 (assuming apache is listening at 80) of your webserver from outside your network using iptables?
 
Old 08-27-2006, 06:39 AM   #4
pulper
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
edman007 and prozac, thanks for your reply. after your posts, i saw the following link:

https://help.ubuntu.com/community/Ap...3c6949a4957d52

it is the same as your response, edman007, but i thought i would post the link for anyone else having the same thinking as myself.

thanks again,

paul
 
  


Reply



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
Block internet access for windows machines Jeeves Linux - Security 5 08-26-2005 03:54 PM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Networking 3 08-24-2004 07:32 AM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Software 1 08-20-2004 05:17 PM
Apache for local dev - block access from net? phlyersphan Linux - Software 1 07-05-2004 04:14 PM
Install a Red Hat 9 Server for Intranet & To provide Internet Access jimmax777 Red Hat 2 09-02-2003 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:23 AM.

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
Open Source Consulting | Domain Registration