[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
issue regarding ldap apache authentication in public_html/*
- To: openldap-technical@openldap.org
- Subject: issue regarding ldap apache authentication in public_html/*
- From: VIKAS MARWAHA <marwahasvm@gmail.com>
- Date: Sat, 11 Jun 2011 00:46:34 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=OHOVeAmhKJqO4g8KzJaEnbnDK8wbJk7myJg0vAPnTJs=; b=RZIJswMcy3ZRu72LFWHfUB/TTu2phkegnPCXnxiAy5DA3VlS82kPE2Ahd/G4DsTlmP rTU0XQMDrfNTYGI+kfUQtPLfgVTMB9Tv8gipKeKnhx4nJ9/eF4PpHlw2rs7iqxFK40nH FNNXIYmQqieh9p0YvqbO1Bcp6FnL848UrDfwM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=fAOr8paUbIxV+Kt21+dKJkEFWg1+mdCmh5PF+f333zJO97krcyfxFVik4Sy8caNLnM 7oH/dIc0YFz57wxyjpxC5aMgEPFkcpeZk3EXCC/ymM2i9Xcxo8hu6FyZiDoZWuSUBDsM GzLiWLQxTH/fD+dQKr3508L+IcFFMbzIbZywc=
hi
I need a little help. I am implementing LDAP services in my college.
The apache LDAP authentication works fine with any directory viz.
/var/www/*/*
/home/username/
but it doesn't works with
/home/username/public_html/anyfolder/
i.e with a subfolder in public_html.
The issue is whenever i write the lines in http.conf the folder stops appearing in the browser.
i dont see the folder when i browse
http://localhost/~username/foldername
i don't see the folder in browser.
lines in http.conf file
<Directory /home/vikasmarwaha/public_html/private/>
Authtype Basic
AuthName "Secured Area : Vikas Marwaha's Page : Secured with LDAP : Authorized personal only"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=example,dc=com?uid?"
require ldap-user vikasmarwaha
</Directory>
Please tell me where am i wrong.!
this one works perfect..
<Directory /home/vikasmarwaha/>
Authtype Basic
AuthName "Secured Area : Vikas Marwaha's Page : Secured with LDAP : Authorized personal only"
AuthBasicProvider ldap
AuthzLDAPAuthoritative on
AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=example,dc=com?uid?"
require ldap-user vikasmarwaha
</Directory>
but it doesn't satisfies my requirements. Need to secure the subfolder(under public_html -- user's web space.) not the whole user directory.
--
Vikas Marwaha
http://vikasmarwaha.co.cc
Sent via HP Touchsmart powered by Backtrack 5 Linux
Technology of Future.