Reading Apache Access Rules
Posted: Sat Jan 27, 2007 7:42 am
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
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