View previous topic :: View next topic |
Author |
Message |
+Kardboard+ n00b
Joined: 12 May 2004 Posts: 23 Location: Vancity CANADA!!
|
Posted: Fri May 14, 2004 11:44 pm Post subject: Shorewall/Apache Troubles |
|
|
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 |
|
|
ilikejonessoda n00b
Joined: 23 Jul 2002 Posts: 15
|
Posted: Sat May 15, 2004 12:23 am Post subject: |
|
|
Let's have a look at your /etc/shorewall/rules file. |
|
Back to top |
|
|
+Kardboard+ n00b
Joined: 12 May 2004 Posts: 23 Location: Vancity CANADA!!
|
Posted: Sat May 15, 2004 5:55 am Post subject: |
|
|
Code: |
ACCEPT net fw tcp 80
ACCEPT loc fw tcp 443 |
_________________ | C l i c k | |
|
Back to top |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sat May 15, 2004 6:35 am Post subject: |
|
|
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 |
|
|
|