> -----Original Message-----
> From: Krist van Besien [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 29, 2007 9:45 AM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Show directory index to some clients only.
> 
> Hello,
> 
> With "Options +Indexes"  you can switch on autoindexing on a
> directory. And with "Options -Indexes" you can switch it off.
> What I am looking for is a way to switch autoindexing on or of based
> on who is accessing the server. I want the general public to not get
> an automatic directory index, but I want it switched on for some
> specific client machines (those our developers use).
> This on Apache 2.0.59, on Solaris.
> 
> Is there a simple way to do this?

Untested idea:

- Use an Alias to allow two URLs leading to same dir
- Use <Location> to define different rules for each dir
- in one Location have indexes on, in the other, off.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> 
> Krist
> 
> 
> -- 
> [EMAIL PROTECTED]
> Bremgarten b. Bern, Switzerland
> --
> A: It reverses the normal flow of conversation.
> Q: What's wrong with top-posting?
> A: Top-posting.
> Q: What's the biggest scourge on plain text email discussions?
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to