Guest xfmandrake Posted November 1, 2005 Report Share Posted November 1, 2005 Architecture 1 : X86 Mandriva Linux Version Limited edition 2005 Subcategory Web Server (Apache) ** Question text This is really strange and has puzzled me for months. Real Gurus, I need your help here. I am running an apache server 2.0.54 on a Mandrake Linux (limited edition 2005), using DSL (PPPoE) and a Netgear router. Very standard configuration: DSLModem->Router->machines in LAN. I had many experiences in those things and confirmed the following using various tools/tests: 1. Port 80 is not blocked; 2. Port 80 is open/forwarded in router. 3. I can access some HTML pages from outside of LAN. 4. Apache listening at 80 and port=80. Strange thing is, I can not view certain pages, like my phpBB2 forum and image files, even some HTML files. I checked all conf files and .htaccess files(if any), none is restricting my access to those files/file types. However, I can view those pages from LAN machines w/o any problems. That\'s true even I use WAN ip in the address bar in IE from LAN PCs. I just can not view those files from outside for no reasons. Even stranger, the access_log show status code 200 and no errors logged in error_log. The inaccessible pages from outside are just hanging there for some time and then I saw \"Can not find the server\" and \"The page cannot be displayed\". I even shutdown firewalls with the installation(iptables/shorewall, etc.), but problem persists. The linux was installed on an IBM machine dual-booted with Windows NT 4.0, if that helps. The Linux part was partitioned using ext3 file system as prompted. As a starting point, can you guys access the following page: http://68.158.112.148/test.gif I confirmed that this is an Apache configuration issue instaed of network issue. I installed PWS in another win98 machine and I can access any page on that server w/o any problem. When I installed Apche on that Win98 machine, I saw the same issue. Anyone knows what could be wrong with my Apache? Any advices/suggestions were greatly appreciated. Thank you in advance, Gurus. .......... Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 1, 2005 Report Share Posted November 1, 2005 Welcome to the board Please don't double-post. I've therefore removed your previous post from software. :P Quote Link to comment Share on other sites More sharing options...
Qchem Posted November 2, 2005 Report Share Posted November 2, 2005 Have you checked with your ISP to ensure that they allow you to run a web server? Some ISP's are in the habit of blocking it. Quote Link to comment Share on other sites More sharing options...
Guest xfmandrake Posted November 2, 2005 Report Share Posted November 2, 2005 (edited) Thanks for the reply. I made sure my ISP did not block port 80 and no place in my conf or .htaccess to restrict access to any files. I can actually access some html pages like this: http://68.158.112.148/test.html But for some reason I can not access this page: http://68.158.112.148/pws_install.html Sounds really strange. When I use telnet 68.158.112.148 80 from remote outside of lan. I can get /pws_install.html though. I can access any pages including all images in the lan. Any advices will be appreciated. Edited November 2, 2005 by xfmandrake Quote Link to comment Share on other sites More sharing options...
Guest xfmandrake Posted November 2, 2005 Report Share Posted November 2, 2005 (edited) Another proof that my ISP does not block port 80 is, I installed Apache on another machine and if I port-forwarded 80 to that machine(win98), I can access all files there. What I suspect is, 1. Will dual boot of Linux and WinNT4.0 cause the problem? But my partition for linux is EXT3 as prompted. 2. I check iptables and shorewall firewall and showewall allows port 80 from net to fw. Are they 2 independent firewalls? Both were running in the standard installation. I assume shorewall is just a configuration tool for iptables to work so I only checked shorewall config files. Thanks. Edited November 2, 2005 by xfmandrake Quote Link to comment Share on other sites More sharing options...
Guest xfmandrake Posted November 2, 2005 Report Share Posted November 2, 2005 I found out the root of the problem : my Apache server can not send files more than 1500 bytes (regardless of file types)! My router also set mtu size 1500. But it should break files into pieces should it be larger than that? What's your router's MTU seeting, does this matter? Anyone knows what's wrong here? Thanks! Quote Link to comment Share on other sites More sharing options...
ddmcse Posted November 3, 2005 Report Share Posted November 3, 2005 (edited) directory indexing ? i.e. index.htm index.php index.html will not show pages named Default.htm or pages named Default.html check your subdirectories for the same running virtual domains ? sounds like traffic from the router is getting bounced . Why are you here? Trying 68.158.112.148... Connected to adsl-158-112-148.mia.bellsouth.net (68.158.112.148). Escape character is '^]'. ^[ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>501 Method Not Implemented</title> </head><body> <h1>Method Not Implemented</h1> <p>to /index.html not supported.<br /> </p> </body></html> Connection closed by foreign host. i see stuff on http://68.158.112.148/pws_install.html it looks like a directory listing and the other one Edited November 3, 2005 by ddmcse Quote Link to comment Share on other sites More sharing options...
Guest xfmandrake Posted November 3, 2005 Report Share Posted November 3, 2005 Thanks for the reply. The index pages are fine. You can access index.html on this server. Just if file size>1500bytes, IE hangs. BTW, you'd put a new line after prompt at telnet, then type in GET /pws_install.html HTTP 1.0 You'll get the page via telnet. But in my case I can not access from IE. Really odd. The files a little bit larger than 1500bytes moight be fine some time. But 10MB is definetely failing at browser. I just created a separate topic and let's talk about there. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.