httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renato Salles <maill...@brturbo.com>
Subject Re: [users@httpd] bad requests??
Date Sat, 04 Jan 2003 18:33:27 GMT
As the logs says, you have another service listening to the port 8000.
To retrieve the intruder, do:
lsof-i tcp:8000
and watch what's listening to that port.
You may change, also theportwich Apache listen, too:
Listen anyport (not included in /etc/services)
That's it.
RSalles

On Sat, 2003-01-04 at 15:58, brent.williams3@attbi.com wrote:
> my apache dameon is up and running.  I can telnet <ip> 80 index.php and the 
> page is spit out(no method for get or post written).  Whenever i do telnet 
> <ip> 80 get index.php http/1.0   (like 
> a browser)  I get 400 Bad Request Invalid URI in request get index.php.  I am 
> able to ssh into my box from within the LAN.  therefore the networking is up. 
> One thing, i can't get out past my router, via ping.
> 
> Whenever i try and point my browser, from another machine on the LAN, to my ip 
> http://192.168.0.200/ i get page 
> can not be displayed(friendly http errors off(IE)).  
> 
> any thoughts for "the new guy"
> 
> provided both access and error logs.
> 
> 
> Error log: tail  /var/log/httpd/error_log
> [Fri Jan  3 03:28:59 2003] [notice] Apache/1.3.20 (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01 configured --
>  resuming normal operations
> [Fri Jan  3 03:28:59 2003] [notice] suEXEC mechanism enabled 
> (wrapper: /usr/sbin/suexec)
> [Fri Jan  3 03:29:20 2003] [error] [client 192.168.0.200] Invalid URI in 
> request get index.html http/1.0
> [Fri Jan  3 03:49:29 2003] [notice] caught SIGTERM, shutting down
> [Fri Jan  3 04:23:30 2003] [notice] Apache/1.3.20 (Unix)  (Red-Hat/Linux) 
> configured -- resuming normal operations
> [Fri Jan  3 04:23:31 2003] [notice] suEXEC mechanism enabled 
> (wrapper: /usr/sbin/suexec)
> [Fri Jan  3 04:23:50 2003] [crit] (98)Address already in use: make_sock: could 
> not bind to port 8000
> [Fri Jan  3 04:25:50 2003] [notice] caught SIGTERM, shutting down
> [Fri Jan  3 04:26:19 2003] [notice] Apache/1.3.20 (Unix)  (Red-Hat/Linux) 
> mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01 configured --
>  resuming normal operations
> [Fri Jan  3 04:26:19 2003] [notice] suEXEC mechanism enabled 
> (wrapper: /usr/sbin/suexec)
> 
> 
> 
> 
> 
> Access_log file:
> tail /var/log/httpd/access_log
> 192.168.0.200 - - [02/Jan/2003:05:10:29 -0500] "get index.php HTTP/1.0" 400 
> 342 "-" "-"
> 192.168.0.200 - - [02/Jan/2003:05:11:46 -0500] "get index.php HTTP/1.0" 400 
> 342 "-" "-"
> 192.168.0.200 - - [02/Jan/2003:05:12:08 -0500] "GET index.php http/1.1" 400 
> 342 "-" "-"
> 192.168.0.200 - - [02/Jan/2003:05:12:24 -0500] "index.php" 200 44232 "-" "-"
> 192.168.0.200 - - [02/Jan/2003:05:18:21 -0500] "index.php" 200 44232 "-" "-"
> 192.168.0.200 - - [02/Jan/2003:05:18:47 -0500] "index.php | more" 400 336 "-
> " "-"
> 192.168.0.200 - - [02/Jan/2003:05:29:11 -0500] "GET / HTTP/1.1" 200 46558 "-
> " "curl/7.8 (i386-redhat-linux-gnu) libcurl 7.8 (OpenSSL 0.9.6b) (ipv6 
> enabled)"
> 192.168.0.200 - - [03/Jan/2003:02:55:08 -0500] "index.html" 200 44235 "-" "-"
> 192.168.0.200 - - [03/Jan/2003:03:29:20 -0500] "get index.html http/1.0" 400 
> 345 "-" "-"
> 192.168.0.200 - - [03/Jan/2003:03:36:50 -0500] "in" 200 44221 "-" "-"
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message