You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by topinambour #### <ot...@gmail.com> on 2011/09/04 18:46:11 UTC

[users@httpd] 200 for 404

hi all

I have problems 2 years ago i use apache server
with debian, all requests 200,404,403 was ok
when i tryed urls on browser
after i use apache source with httpd.conf
exactly like:
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples
ErrorDocument 301 " "
ErrorDocument 405 " "
ErrorDocument 304 " "
ErrorDocument 402 " "
ErrorDocument 403 " "
#

today i use default config
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples
#

Only 403 gives good answer
A 404 request like:
on my network if i call my websiteand add after /:; i have an empty page
in access.logs:
192.168.0.18 - - [03/Sep/2011:19:06:08 +0200] "GET /:; HTTP/1.1" 200 20 "-"
"Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.17) Gecko/20110420
Firefox/3.6.17 GTB7.1"
404 request gives me a 200 request !!

here are pastebin:
http://pastebin.com/Wp88BmAP
http://pastebin.com/LUivhKpd

You can also try my website http:/lavelanet.dyndns.org and add a bad request
to try to get 404  eror in browser


thank you for answer

Re: [users@httpd] 200 for 404

Posted by Eric Covener <co...@gmail.com>.
> Is it possible to have problems outside my server
> in my dns?

Anything's possible. You should confirm your DNS works and requests
are hitting your server before worrying about your httpd config.

> tld is dyndns.org?
> it seems that a part of old config reappears how in a cache;

Could also be your browser cache. Try clearing it or testing with a
command-line client

---------------------------------------------------------------------
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


Re: [users@httpd] 200 for 404

Posted by topinambour #### <ot...@gmail.com>.
thank you for answer
I tried but not ok
i follow to find
i go to look in apache.org..

Is it possible to have problems outside my server
in my dns?
tld is dyndns.org?
it seems that a part of old config reappears how in a cache;

2011/9/4 Eric Covener <co...@gmail.com>

> On Sun, Sep 4, 2011 at 12:46 PM, topinambour #### <ot...@gmail.com>
> wrote:
> > Only 403 gives good answer
> > A 404 request like:
> > on my network if i call my websiteand add after /:; i have an empty page
> > in access.logs:
> > 192.168.0.18 - - [03/Sep/2011:19:06:08 +0200] "GET /:; HTTP/1.1" 200 20
> "-"
> > "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.17) Gecko/20110420
> > Firefox/3.6.17 GTB7.1"
> > 404 request gives me a 200 request !!
>
> "AcceptPathInfo on" on the new system and not the old one?
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] 200 for 404

Posted by Eric Covener <co...@gmail.com>.
On Sun, Sep 4, 2011 at 12:46 PM, topinambour #### <ot...@gmail.com> wrote:
> Only 403 gives good answer
> A 404 request like:
> on my network if i call my websiteand add after /:; i have an empty page
> in access.logs:
> 192.168.0.18 - - [03/Sep/2011:19:06:08 +0200] "GET /:; HTTP/1.1" 200 20 "-"
> "Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.17) Gecko/20110420
> Firefox/3.6.17 GTB7.1"
> 404 request gives me a 200 request !!

"AcceptPathInfo on" on the new system and not the old one?

---------------------------------------------------------------------
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