httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: [users@httpd] Differences between different Apaches in file requests
Date Thu, 25 Sep 2008 13:42:03 GMT
On Thu, Sep 25, 2008 at 9:26 AM, André Warnier <> wrote:
> Eric Covener wrote:
> [...]
>> IMO The 403 is returned in a path where errors imply a high likelyhood
>> of someone actively trying to fool the server -- I don't think a 403
>> is too inappropriate here.
> First, no, there was no tomfoolery implicated in copying the file.  Just
> take an existing Apache logo image file and copy it from the Unix
> command-line.

> Or copy the file to the system from a Windows PC using any utility like FTP
> or SCP.
> On the system, the result of an "ls" of that file looks like this :
> -rw-r--r--  1 root     root   2326 2004-11-20 21:16 joaquín.gif

To show the bytes comprising the filename: ls -1  *.gif | od -t x1

> with the locale of that user being
> LANG=en_US.ISO-8859-15

That matches the "locale" of the bytes in your request.

> Next, nothing personal implied, but what you are saying above is a
> singularly mono-cultural point of view. Why would a path composed entirely
> of printable characters of the latin iso-8859-1 alphabet imply a high
> likelihood of someone trying to fool the server ?

I was referring to errors in this particular code-path (not path in
the URI) through Apache.

> So if I try to allow Apache to serve documents from my home directory
> /home/andré/public_html, I should trigger 403 errors ?

No -- why would it?

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message