Re: Differences between different Apaches in file requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 25, 2008 at 9:26 AM, André Warnier <aw@xxxxxxxxxx> 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
covener@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux