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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
> > 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 | |
|
|