autoindex dropping non-accessible files?

This is a discussion on autoindex dropping non-accessible files? within the Apache Web Server forums, part of the Web Server and Related Forums category; Apache 2.0 seems to drop/hide files it has no access to while autoindexing a plain directory. I do ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2005
timrob
 
Posts: n/a
Default autoindex dropping non-accessible files?

Apache 2.0 seems to drop/hide files it has no access to
while autoindexing a plain directory.
I do not know this from Apache 1.3, though...

In fact, I'd like to show _all_ the files to an anonymous user,
regardless of the actual access permission of user or server.
And I only want to popup a login request when it comes to an
actual download request of a file (*.jpg or so).

I've tried a lot, but could not get it work... :-(
Any ideas how to do achieve this?

Tim

  #2 (permalink)  
Old 03-07-2005
timrob
 
Posts: n/a
Default Re: autoindex dropping non-accessible files?

> > Apache 2.0 seems to drop/hide files it has no access to
> > while autoindexing a plain directory.

>
> That does make some kind of sense since there is no reason for him to
> show a file that can't be accessed and he does that trought the

normal
> filesystem permissions, so if he can't access the file he can't show

him
> either.


Ok...

> > In fact, I'd like to show _all_ the files to an anonymous user,
> > regardless of the actual access permission of user or server.

>
> Then use a server-side script to bypass the permissions, but be aware

that
> you're seriously lowering the security of your system in doing so.


That's what I want to avoid.

I just want show all potentially available files and let apache only
ask for
a login if it comed to download.
I managed that perfectly on Apache 1.3 with something like that:

<files ~ *.jpg>
require user tim
</files>

The directory is then still viewable by anonymous and the login just
pops up on demand.

TIm

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0