public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] invisible README
@ 2011-02-16  4:54 Philip Webb
  2011-02-16  5:07 ` Paul Hartman
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Philip Webb @ 2011-02-16  4:54 UTC (permalink / raw
  To: Gentoo User

I recently put some files up at  http://www.chass.utoronto.ca/~purslow/esp/ .
One of them is  README.pdf , which is visible when I list the dir contents
using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
If I make a copy called  READFILE.pdf , it is shown by the browsers.

Can anyone explain what's going on ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16  4:54 [gentoo-user] [OT] invisible README Philip Webb
@ 2011-02-16  5:07 ` Paul Hartman
  2011-02-16  7:56   ` Philip Webb
  2011-02-16  5:38 ` [gentoo-user] " Nikos Chantziaras
  2011-02-16  5:52 ` [gentoo-user] " Adam Carter
  2 siblings, 1 reply; 9+ messages in thread
From: Paul Hartman @ 2011-02-16  5:07 UTC (permalink / raw
  To: gentoo-user

On Tue, Feb 15, 2011 at 10:54 PM, Philip Webb <purslow@ca.inter.net> wrote:
> I recently put some files up at  http://www.chass.utoronto.ca/~purslow/esp/ .
> One of them is  README.pdf , which is visible when I list the dir contents
> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>
> Can anyone explain what's going on ?

Maybe your IndexIgnore setting is something like this:

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: [OT] invisible README
  2011-02-16  4:54 [gentoo-user] [OT] invisible README Philip Webb
  2011-02-16  5:07 ` Paul Hartman
@ 2011-02-16  5:38 ` Nikos Chantziaras
  2011-02-16  5:52 ` [gentoo-user] " Adam Carter
  2 siblings, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2011-02-16  5:38 UTC (permalink / raw
  To: gentoo-user

On 02/16/2011 06:54 AM, Philip Webb wrote:
> I recently put some files up at  http://www.chass.utoronto.ca/~purslow/esp/ .
> One of them is  README.pdf , which is visible when I list the dir contents
> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>
> Can anyone explain what's going on ?

The permissions of that file are probably wrong.  It needs to be 
readable by the group the web server belongs to.  Try chmod +r README.pdf




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16  4:54 [gentoo-user] [OT] invisible README Philip Webb
  2011-02-16  5:07 ` Paul Hartman
  2011-02-16  5:38 ` [gentoo-user] " Nikos Chantziaras
@ 2011-02-16  5:52 ` Adam Carter
  2011-02-16  6:55   ` Adam Carter
  2 siblings, 1 reply; 9+ messages in thread
From: Adam Carter @ 2011-02-16  5:52 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

>
> I recently put some files up at
> http://www.chass.utoronto.ca/~purslow/esp/ .
> One of them is  README.pdf , which is visible when I list the dir contents
> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>
> Can anyone explain what's going on ?
>

The user context that the webserver is running in doesnt have read access to
the files?

[-- Attachment #2: Type: text/html, Size: 711 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16  5:52 ` [gentoo-user] " Adam Carter
@ 2011-02-16  6:55   ` Adam Carter
  0 siblings, 0 replies; 9+ messages in thread
From: Adam Carter @ 2011-02-16  6:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 37 bytes --]

What does the httpd error log say :)

[-- Attachment #2: Type: text/html, Size: 41 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16  5:07 ` Paul Hartman
@ 2011-02-16  7:56   ` Philip Webb
  2011-02-16 15:17     ` Paul Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: Philip Webb @ 2011-02-16  7:56 UTC (permalink / raw
  To: gentoo-user

110215 Paul Hartman wrote:
> On Tue, Feb 15, 2011 at 10:54 PM, Philip Webb <purslow@ca.inter.net> wrote:
>> I recently put some files at  http://www.chass.utoronto.ca/~purslow/esp/ .
>> One of them is  README.pdf , which is visible when I list the dir contents
>> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
>> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>> Can anyone explain what's going on ?
> Maybe your IndexIgnore setting is something like this:
> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

I should have explained in the OP that there are other files there,
all of which appear in the browsers' listings.
What is happening is that the file  README.pdf  -- alone -- 
is automatically given the permission  600 , while the others have  644 .
This happens even when I copy  README.pdf  from  READFILE.pdf ,
so there is some setting somewhere telling it to do that.
So, where do I look for 'IndexIgnore ... ' ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16  7:56   ` Philip Webb
@ 2011-02-16 15:17     ` Paul Hartman
  2011-02-17  5:45       ` Philip Webb
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Hartman @ 2011-02-16 15:17 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 16, 2011 at 1:56 AM, Philip Webb <purslow@ca.inter.net> wrote:
> 110215 Paul Hartman wrote:
>> On Tue, Feb 15, 2011 at 10:54 PM, Philip Webb <purslow@ca.inter.net> wrote:
>>> I recently put some files at  http://www.chass.utoronto.ca/~purslow/esp/ .
>>> One of them is  README.pdf , which is visible when I list the dir contents
>>> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
>>> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>>> Can anyone explain what's going on ?
>> Maybe your IndexIgnore setting is something like this:
>> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
>
> I should have explained in the OP that there are other files there,
> all of which appear in the browsers' listings.
> What is happening is that the file  README.pdf  -- alone --
> is automatically given the permission  600 , while the others have  644 .
> This happens even when I copy  README.pdf  from  READFILE.pdf ,
> so there is some setting somewhere telling it to do that.
> So, where do I look for 'IndexIgnore ... ' ?

Hi,

The example configuration line I quoted was taken from the Apache documentation:

http://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexignore

"The IndexIgnore directive adds to the list of files to hide when
listing a directory. File is a shell-style wildcard expression or full
filename. Multiple IndexIgnore directives add to the list, rather than
the replacing the list of ignored files. By default, the list contains
. (the current directory)."

It's just a stab in the dark :) Good luck.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-16 15:17     ` Paul Hartman
@ 2011-02-17  5:45       ` Philip Webb
  2011-02-17 14:29         ` Mick
  0 siblings, 1 reply; 9+ messages in thread
From: Philip Webb @ 2011-02-17  5:45 UTC (permalink / raw
  To: gentoo-user

110216 Paul Hartman wrote:
> On Tue, Feb 15, 2011 at 10:54 PM, Philip Webb <purslow@ca.inter.net> wrote:
>> I recently put some files at  http://www.chass.utoronto.ca/~purslow/esp/ .
>> One of them is  README.pdf , which is visible when I list the dir contents
>> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
>> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>> Can anyone explain what's going on ?
> Maybe your IndexIgnore setting is something like this:
> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
>> So, where do I look for 'IndexIgnore ... ' ?
> The configuration line I quoted was taken from the Apache documentation:
> http://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexignore

Yes, I checked Google & it appears there sb a file  .htaccess
in the public dir, which can contain the IndexIgnore line.
However, the server I'm using is on a university multi-user system
& so I don't have root access to change its default settings
nor do I know whether creating my own  .htaccess  would work.
My workaround -- renaming to  READTHIS  -- is adequate.
Thanks to all who offered advice.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [OT] invisible README
  2011-02-17  5:45       ` Philip Webb
@ 2011-02-17 14:29         ` Mick
  0 siblings, 0 replies; 9+ messages in thread
From: Mick @ 2011-02-17 14:29 UTC (permalink / raw
  To: gentoo-user

On 17 February 2011 05:45, Philip Webb <purslow@ca.inter.net> wrote:
> 110216 Paul Hartman wrote:
>> On Tue, Feb 15, 2011 at 10:54 PM, Philip Webb <purslow@ca.inter.net> wrote:
>>> I recently put some files at  http://www.chass.utoronto.ca/~purslow/esp/ .
>>> One of them is  README.pdf , which is visible when I list the dir contents
>>> using SSh or Krusader, but which is not shown by FF, Konqueror or Lynx.
>>> If I make a copy called  READFILE.pdf , it is shown by the browsers.
>>> Can anyone explain what's going on ?
>> Maybe your IndexIgnore setting is something like this:
>> IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
>>> So, where do I look for 'IndexIgnore ... ' ?
>> The configuration line I quoted was taken from the Apache documentation:
>> http://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexignore
>
> Yes, I checked Google & it appears there sb a file  .htaccess
> in the public dir, which can contain the IndexIgnore line.
> However, the server I'm using is on a university multi-user system
> & so I don't have root access to change its default settings
> nor do I know whether creating my own  .htaccess  would work.
> My workaround -- renaming to  READTHIS  -- is adequate.
> Thanks to all who offered advice.

You can try adding your own .htaccess at your webroot or even the
directory in question and see if that overrides the default settings.
Depending on how much they have locked down the apache configuration
you may be able to override their default settings with yours as far
as your particular directory is concerned.
-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-17 15:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16  4:54 [gentoo-user] [OT] invisible README Philip Webb
2011-02-16  5:07 ` Paul Hartman
2011-02-16  7:56   ` Philip Webb
2011-02-16 15:17     ` Paul Hartman
2011-02-17  5:45       ` Philip Webb
2011-02-17 14:29         ` Mick
2011-02-16  5:38 ` [gentoo-user] " Nikos Chantziaras
2011-02-16  5:52 ` [gentoo-user] " Adam Carter
2011-02-16  6:55   ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox