chrimeg Posted May 16, 2007 Share Posted May 16, 2007 Hello All, Just switched over from IIS. Apache seems to be a great webserver. However, I'm haveing a little trouble. When checking my site on local network via http://192.168.*.*** everything is fine. When I try to access it via www.mydomain.com it displays a blank white page. This is also true if I try to access via my public IP address. I've checked my firewalls, done port scans etc. Port 80 is open. So I have know idea what the problem is. I'm using XP pro and the newest version of apache. Any help would be great! Thanks. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted May 17, 2007 Share Posted May 17, 2007 You will have to check your apache web logs to see if there was a request made and/or what it returned. -steve Quote Link to comment Share on other sites More sharing options...
chrimeg Posted May 17, 2007 Author Share Posted May 17, 2007 Well we checked the logs and got the following: Error log: [Thu May 17 12:58:45 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations [Thu May 17 12:58:45 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu May 17 12:58:45 2007] [notice] Parent: Created child process 3940 [Thu May 17 12:58:46 2007] [notice] Child 3940: Child process is running [Thu May 17 12:58:46 2007] [notice] Child 3940: Acquired the start mutex. [Thu May 17 12:58:46 2007] [notice] Child 3940: Starting 250 worker threads. [Thu May 17 12:58:46 2007] [notice] Child 3940: Starting thread to listen on port 80. [Thu May 17 13:02:06 2007] [notice] Parent: Received restart signal -- Restarting the server. [Thu May 17 13:02:06 2007] [notice] Child 3940: Exit event signaled. Child process is ending. [Thu May 17 13:02:06 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations [Thu May 17 13:02:06 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu May 17 13:02:06 2007] [notice] Parent: Created child process 4016 [Thu May 17 13:02:06 2007] [notice] Child 4016: Child process is running [Thu May 17 13:02:07 2007] [notice] Child 3940: Released the start mutex [Thu May 17 13:02:07 2007] [notice] Child 4016: Acquired the start mutex. [Thu May 17 13:02:07 2007] [notice] Child 4016: Starting 250 worker threads. [Thu May 17 13:02:08 2007] [notice] Child 3940: Waiting for 250 worker threads to exit. [Thu May 17 13:02:08 2007] [notice] Child 4016: Starting thread to listen on port 80. [Thu May 17 13:04:20 2007] [notice] Child 3940: All worker threads have exited. [Thu May 17 13:04:20 2007] [notice] Child 3940: Child process is exiting [Thu May 17 13:04:49 2007] [notice] Parent: Received restart signal -- Restarting the server. [Thu May 17 13:04:49 2007] [notice] Child 4016: Exit event signaled. Child process is ending. [Thu May 17 13:04:49 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations [Thu May 17 13:04:49 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu May 17 13:04:49 2007] [notice] Parent: Created child process 640 [Thu May 17 13:04:49 2007] [notice] Child 640: Child process is running [Thu May 17 13:04:50 2007] [notice] Child 4016: Released the start mutex [Thu May 17 13:04:50 2007] [notice] Child 640: Acquired the start mutex. [Thu May 17 13:04:50 2007] [notice] Child 640: Starting 250 worker threads. [Thu May 17 13:04:51 2007] [notice] Child 4016: Waiting for 250 worker threads to exit. [Thu May 17 13:04:51 2007] [notice] Child 640: Starting thread to listen on port 80. [Thu May 17 13:11:48 2007] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Thu May 17 13:11:49 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations [Thu May 17 13:11:49 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu May 17 13:11:49 2007] [notice] Parent: Created child process 1940 [Thu May 17 13:11:49 2007] [notice] Child 1940: Child process is running [Thu May 17 13:11:49 2007] [notice] Child 1940: Acquired the start mutex. [Thu May 17 13:11:49 2007] [notice] Child 1940: Starting 250 worker threads. [Thu May 17 13:11:49 2007] [notice] Child 1940: Starting thread to listen on port 80. [Thu May 17 13:16:15 2007] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Thu May 17 13:16:16 2007] [notice] Apache/2.2.4 (Win32) configured -- resuming normal operations [Thu May 17 13:16:16 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu May 17 13:16:16 2007] [notice] Parent: Created child process 1684 [Thu May 17 13:16:16 2007] [notice] Child 1684: Child process is running [Thu May 17 13:16:16 2007] [notice] Child 1684: Acquired the start mutex. [Thu May 17 13:16:16 2007] [notice] Child 1684: Starting 250 worker threads. [Thu May 17 13:16:16 2007] [notice] Child 1684: Starting thread to listen on port 80. [Thu May 17 13:27:07 2007] [error] [client 207.46.98.53] File does not exist: C:/websites/robots.txt [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button1on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button2on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button3on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button4on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button5on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button6on.jpg, referer: http://192.168.0.100/en-ca/button.html [Thu May 17 13:30:39 2007] [error] [client 192.168.0.102] File does not exist: C:/websites/en-ca/button7on.jpg, referer: http://192.168.0.100/en-ca/button.html Acccess Log: 205.251.**.**** - - [17/May/2007:13:20:18 -0230] "GET / HTTP/1.1" 200 11983 207.46.98.53 - - [17/May/2007:13:27:07 -0230] "GET /robots.txt HTTP/1.0" 404 208 207.46.98.53 - - [17/May/2007:13:27:08 -0230] "GET /en-ca/front.html HTTP/1.0" 200 4957 192.168.0.102 - - [17/May/2007:13:30:38 -0230] "GET / HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:38 -0230] "GET /en-ca/heading.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/fs_menu.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/extra.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button1on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/topimage.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/shim.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button1off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/searchtitle.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button2on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/searchall.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button3on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button2off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button4on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button3off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button5on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button4off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button5off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button6on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button7on.jpg HTTP/1.1" 404 217 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button6off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:39 -0230] "GET /en-ca/button7off.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/buttonbg.jpg HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/toc.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/clear_spacer.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/front.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/tocbot.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/topright.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/grey.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:40 -0230] "GET /en-ca/core.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/tocimage.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/currency.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/greycenter.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/Shim.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/total.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/tocline.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/tocbottom.gif HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/blank3.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/blank3.html HTTP/1.1" 304 - 192.168.0.102 - - [17/May/2007:13:30:41 -0230] "GET /en-ca/blank4.html HTTP/1.1" 304 - As you can see we can access the site locally but not external. As you can see with the 205.251.*.* ip above. We are getting requests trough the firewall. Apache just don't want to serve it. Trying to see where we are going wrong. Any suggestions? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted May 21, 2007 Share Posted May 21, 2007 It could be a virtual hosts problem. Can you place 1 file in the Root Directory. Call it test.html etc. and call it via 192... and 205... The reason Im asking this is because of these lines: 205.251.**.**** - - [17/May/2007:13:20:18 -0230] "GET / HTTP/1.1" 200 11983 192.168.0.102 - - [17/May/2007:13:30:38 -0230] "GET / HTTP/1.1" 304 - Now, if you can test the 1 file (test.html) and post the access.log entries you will be better able to debug whats happenning. See also: http://wiki.kartbuilding.net/index.php/Apache#Apache_Error_Codes On your internal 192... computer. Can you hit CTRL+F5 to force a refresh of the website/webpage. -steve 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.