View previous topic :: View next topic |
Author |
Message |
nagual n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2006 Posts: 34
|
Posted: Fri Mar 17, 2006 2:30 pm Post subject: apache probs |
|
|
Ok. I can view my apache web server fine from inside my network but not from outside. I have port 80 forwarded on my router to the correct ip address. What else should I check. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
db_404 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Dec 2002 Posts: 336
|
Posted: Fri Mar 17, 2006 3:15 pm Post subject: |
|
|
First things I'd check are that you don't have access from non-local ips blocked by a firewall rule on the host. Also might be worth checking that you service provider doesn't block inbound port 80 (some do). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nagual n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2006 Posts: 34
|
Posted: Fri Mar 17, 2006 3:22 pm Post subject: |
|
|
ISP doesn't block that port. I have no firewall set on the webserver. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
db_404 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Dec 2002 Posts: 336
|
Posted: Fri Mar 17, 2006 3:41 pm Post subject: |
|
|
Then next step would be to prove that port forwarding is/isn't working. Look in the apache logs for you external access requests. If you don't see anything then try sniffing traffic to see if anything is even getting back to your box. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nagual n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2006 Posts: 34
|
Posted: Fri Mar 17, 2006 5:06 pm Post subject: |
|
|
Here is my access_log
Code: | 192.168.1.101 - - [15/Mar/2006:21:00:06 +0000] "GET /index.html HTTP/1.1" 200 1443
192.168.1.101 - - [15/Mar/2006:21:00:07 +0000] "GET /index.html HTTP/1.1" 200 1443
192.168.1.101 - - [15/Mar/2006:21:17:22 +0000] "GET / HTTP/1.1" 200 1443
192.168.1.101 - - [15/Mar/2006:21:17:23 +0000] "GET /apache_pb.gif HTTP/1.1" 200 2326
192.168.1.101 - - [15/Mar/2006:21:17:23 +0000] "GET /favicon.ico HTTP/1.1" 404 272
192.168.1.103 - - [16/Mar/2006:06:47:32 +0000] "GET / HTTP/1.1" 200 1443
192.168.1.103 - - [16/Mar/2006:06:47:32 +0000] "GET /apache_pb.gif HTTP/1.1" 200 2326
192.168.1.103 - - [16/Mar/2006:06:47:37 +0000] "GET /testing.php HTTP/1.1" 200 21
192.168.1.103 - - [16/Mar/2006:06:48:17 +0000] "GET /testing.php HTTP/1.1" 304 -
192.168.1.103 - - [16/Mar/2006:07:06:39 +0000] "GET /favicon.ico HTTP/1.1" 404 272
192.168.1.101 - - [16/Mar/2006:23:45:15 +0000] "GET / HTTP/1.1" 200 1443
192.168.1.101 - - [16/Mar/2006:23:45:16 +0000] "GET /apache_pb.gif HTTP/1.1" 200 2326
192.168.1.101 - - [16/Mar/2006:23:45:16 +0000] "GET /favicon.ico HTTP/1.1" 404 272
192.168.1.101 - - [16/Mar/2006:23:45:16 +0000] "GET /favicon.ico HTTP/1.1" 404 272
192.168.1.101 - - [16/Mar/2006:23:45:21 +0000] "GET /test.php HTTP/1.1" 404 269
192.168.1.101 - - [17/Mar/2006:00:17:58 +0000] "GET /testing.php HTTP/1.1" 200 21
192.168.1.101 - - [17/Mar/2006:00:18:42 +0000] "GET /testing HTTP/1.1" 404 268
192.168.1.101 - - [17/Mar/2006:00:19:54 +0000] "GET / HTTP/1.1" 304 -
192.168.1.101 - - [17/Mar/2006:00:19:54 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
192.168.1.101 - - [17/Mar/2006:00:20:00 +0000] "GET /testing.php HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:00:25:41 +0000] "GET / HTTP/1.1" 200 1443
192.168.1.1 - - [17/Mar/2006:00:25:41 +0000] "GET /apache_pb.gif HTTP/1.1" 200 2326
192.168.1.1 - - [17/Mar/2006:00:25:41 +0000] "GET /favicon.ico HTTP/1.1" 404 279
192.168.1.1 - - [17/Mar/2006:00:25:41 +0000] "GET /favicon.ico HTTP/1.1" 404 279
192.168.1.1 - - [17/Mar/2006:00:46:45 +0000] "GET /php-syslog-ng HTTP/1.1" 404 281
192.168.1.1 - - [17/Mar/2006:00:47:15 +0000] "GET / HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:00:47:15 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:00:47:53 +0000] "GET /php-syslog-ng/login HTTP/1.1" 404 287
192.168.1.1 - - [17/Mar/2006:00:47:58 +0000] "GET /php-syslog-ng/login.php HTTP/1.1" 404 291
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /phpsyslogng HTTP/1.1" 301 318
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 1130
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /icons/blank.gif HTTP/1.1" 200 148
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /icons/folder.gif HTTP/1.1" 200 225
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /icons/back.gif HTTP/1.1" 200 216
192.168.1.1 - - [17/Mar/2006:00:48:15 +0000] "GET /icons/unknown.gif HTTP/1.1" 200 245
192.168.1.1 - - [17/Mar/2006:00:48:21 +0000] "GET /phpsyslogng/index.php HTTP/1.1" 200 2944
192.168.1.1 - - [17/Mar/2006:00:48:28 +0000] "GET /phpsyslogng/includes/ HTTP/1.1" 200 1929
192.168.1.1 - - [17/Mar/2006:00:48:28 +0000] "GET /icons/blank.gif HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:00:48:28 +0000] "GET /icons/back.gif HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:00:48:28 +0000] "GET /icons/unknown.gif HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:01:34:01 +0000] "GET / HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:01:34:01 +0000] "GET /apache_pb.gif HTTP/1.1" 304 -
192.168.1.1 - - [17/Mar/2006:01:34:08 +0000] "GET /testing.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4644
192.168.1.1 - - [17/Mar/2006:01:34:08 +0000] "GET /testing.php HTTP/1.1" 200 34194
192.168.1.1 - - [17/Mar/2006:01:34:08 +0000] "GET /testing.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146
192.168.1.1 - - [17/Mar/2006:01:34:19 +0000] "GET /syslogng HTTP/1.1" 404 276
192.168.1.1 - - [17/Mar/2006:01:35:00 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
192.168.1.1 - - [17/Mar/2006:01:35:28 +0000] "GET /phpsyslogng/index.php HTTP/1.1" 200 167
192.168.1.1 - - [17/Mar/2006:01:35:42 +0000] "GET /phpsyslogng/includes/login.php HTTP/1.1" 200 157
192.168.1.1 - - [17/Mar/2006:01:35:54 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
192.168.1.1 - - [17/Mar/2006:01:42:56 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
192.168.1.1 - - [17/Mar/2006:01:35:54 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
192.168.1.1 - - [17/Mar/2006:01:42:56 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
127.0.0.1 - - [17/Mar/2006:07:58:56 +0000] "GET / HTTP/1.1" 200 1443
127.0.0.1 - - [17/Mar/2006:07:59:28 +0000] "GET /testing.php HTTP/1.1" 200 34304
127.0.0.1 - - [17/Mar/2006:07:59:48 +0000] "GET /phpsyslogng/ HTTP/1.1" 200 167
127.0.0.1 - - [17/Mar/2006:11:02:26 +0000] "GET / HTTP/1.0" 200 1443
127.0.0.1 - - [17/Mar/2006:11:02:38 +0000] "GET /phpsyslogng/ HTTP/1.0" 200 167
127.0.0.1 - - [17/Mar/2006:11:03:14 +0000] "GET /phpsyslogng/ HTTP/1.0" 200 9729
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nagual n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jan 2006 Posts: 34
|
Posted: Fri Mar 17, 2006 7:44 pm Post subject: |
|
|
Ok. I am thinking my isp lied to me and they are blocking port 80. I ran a portscan on my ip and all the common ports show up as being closed to the world. I will just have to change it to a different port. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|