I was hoping someone might point me in the right direction. I'm using LDAP to handle user authentication and Apache's "require valid-user" and "require ldap-group ..." entries in "Location" elements in my server configuration. What I would like to do is only show a link on a web page if the current user has access to the location that it would be linked to.
Basically I am asking if PHP is capable of understanding Apache's access rules for locations on the server.
Let me know if I'm not explaining my question well enough.
Thanks
Reading Apache Access Rules
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US