LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2004, 07:46 PM   #1
Eyaw_Nayr
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Apache doesn't like internet connections, allows intranet


I recently installed apache2 on a spare debian box of mine. when I try to open the index page via the network, it works perfectly. But when I try to query it via my internet IP addy, it refuses the connection. Portmapping, port forwarding, firewall are all correctly set up. I know the machine accepts connections, because telnetd and sshd both work, Is there somthing that I have missed?

I know this was posted in the Networking board, but in hindsight it belongs here.
 
Old 08-20-2004, 05:17 PM   #2
kh_ibrahim
LQ Newbie
 
Registered: Aug 2004
Location: Alexandria - Egypt
Distribution: Redhat, Fedora Core, SUSE
Posts: 18

Rep: Reputation: 0
assuming your network configuration is correct (routing, firewall, ....) then the key point to accepting or rejecting requests in apache is the "Deny" and "Allow" options within some other directives.

as an example, the next configuration will deny requests from "somedoamin.com"

<Directory /opt/apache>
Order Deny,Allow
Deny from somedomain.com
</Directory>

there are many combinations for allow and deny. Apache manual gives you some good examples to review. I'd advise that you review your configuration file and check if you just trusting connections from local network.

hope this helps
Khalid El-Gazzar
 
  


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
creating an intranet using apache Snerkel Linux - Software 8 11-09-2004 10:44 PM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Networking 3 08-24-2004 07:32 AM
problems with internet and intranet connections cooperation in Mandrake lu543285 Linux - Networking 10 01-04-2004 12:56 PM
Intranet - apache - samba geertm Linux - Networking 22 04-09-2003 12:26 PM
Intranet computers cannot see internet (need immediate help) arobinson74 Linux - Networking 3 04-01-2003 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 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
Open Source Consulting | Domain Registration