[ee122] [Proj1b] index.html Question

Lisa Fowler fowler at eecs.berkeley.edu
Fri Oct 26 14:40:07 PDT 2007


HTTP/1.0 403 Forbidden: /foo  Would be sufficient.  That was the
request that the user made, and perhaps revealing that "/foo" was
translated to "/foo/index.html" might be revealing too much about your
system....

-Lisa

On 10/26/07, Allen Lee <leeallen at berkeley.edu> wrote:
> I have a question about what to print if we don't have read permission after
> appending /index.html to the URI.  Suppose the server receives the request
> "GET /foo HTTP/1.0" and successfully resolves the request by appending
> /index.html to the URI.  If we don't have read permission for this file,
> should the response be
>
> HTTP/1.0 403 Forbidden: /foo
>
> or
>
> HTTP/1.0 403 Forbidden: /foo/index.html
>
> Thanks,
> Allen
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>
>


More information about the ee122 mailing list