nicky
04-25-2011, 09:27 PM
I was wondering if it's possible to program a htaccess conditional based on users?
My directory is password protected, but based on the user login, I'd like the Options +Indexes to turn turn if it's an admin user, or be Options -Indexes if it's a regular user. There are a bunch of directories within this directory, and the regular users need to be able to access those, but I don't want them seeing the directory listing if they go to the main directory.
Does this make sense? :P
I'd appreciate all and any help.
My directory is password protected, but based on the user login, I'd like the Options +Indexes to turn turn if it's an admin user, or be Options -Indexes if it's a regular user. There are a bunch of directories within this directory, and the regular users need to be able to access those, but I don't want them seeing the directory listing if they go to the main directory.
Does this make sense? :P
I'd appreciate all and any help.