Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shorewall/Apache Troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
+Kardboard+
n00b
n00b


Joined: 12 May 2004
Posts: 23
Location: Vancity CANADA!!

PostPosted: Fri May 14, 2004 11:44 pm    Post subject: Shorewall/Apache Troubles Reply with quote

I've installed Apache and Shorewall, but I can't seem to get my server serving. I think it's Shorewall blocking it, but I have already allowed access to port 80 on my server machine.

Also, the server machine and the firewall are one and the same. From my local machines on this network I can get to the server with both HTTP and HTTPS and the IP address but "localhost" doesn't work. I try using my static IP but only HTTPS works for that, not HTTP.

What's going on?

_________________
| C l i c k |
Back to top
View user's profile Send private message
ilikejonessoda
n00b
n00b


Joined: 23 Jul 2002
Posts: 15

PostPosted: Sat May 15, 2004 12:23 am    Post subject: Reply with quote

Let's have a look at your /etc/shorewall/rules file.
Back to top
View user's profile Send private message
+Kardboard+
n00b
n00b


Joined: 12 May 2004
Posts: 23
Location: Vancity CANADA!!

PostPosted: Sat May 15, 2004 5:55 am    Post subject: Reply with quote

Code:

ACCEPT   net   fw   tcp   80
ACCEPT   loc   fw   tcp   443

_________________
| C l i c k |
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Sat May 15, 2004 6:35 am    Post subject: Reply with quote

Check that your Apache configuration files are binding Apache to the external interface and not just the internal one. For example:
Code:
# netstat -pan --inet | grep apache
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      18782/apache2
would be good, while:
Code:
# netstat -pan --inet | grep apache
tcp        0      0 192.168.1.1:80              0.0.0.0:*               LISTEN      18782/apache2
wouldn't.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum