htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: .htaccess file on the subfolder level not works
PostPosted: 17 Oct 2007 16:53 
Offline

Joined: 17 Oct 2007 16:36
Posts: 1
Environments: Red Hat Enterprise Linux 4 ES 4
Module : mod_authz_ldap.so 0.26
Server version: Apache/2.0.52



I am using .htaccess file for authentication and authorization.

Auth and Athz happens through the Active Directory via coreid server.

This functionality is working fine but there is one issue.

When first time user logged in he/she can see all the folder even those folders not belogs to him. He can not navigate on those folders which not belongs to him but he can see those folders.

Main Folder contains .htaccess file
------- sub folder 1 contains .htaccess file belong to A
------- sub folder 2 contains .htaccess file belong to B
------- sub folder 3 contains .htaccess file belong to C

When A call the URL main folder a pop up windown appear for authentication after authentication A can see all sub folders:

sub folder 1
sub folder 2
sub folder 3

Suppose to be A can see only sub folder 1 becayse .htaccess file contains permission for A.

A can not navigate in 2 and 3 folder but he can see the folder.

How I can Hide 2 and 3 sub folder from A?

In the following envoirnment its working fine:

Environment – Red Hat Enterprise Linux ES3
Module : mod_authz_ldap.so 0.24
Server version: Apache/2.0.46

Is this a defect or expected behaviour?

What directive needs to be used to correct the problem?

Please let me know if something is not clear.

Your help will be realy appreciated.

Regards

inti


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB