|
Building a LAMP Server w/ LDAP Authentication |
|
|
|
Source: geekspeek.org - Posted by Vincenzo Ciaglia
|
This tutorial is designed to guide you through the initial steps of setting up an Apache, MySQL, and PHP server on Linux which will utilize an external LDAP server for authenticating users. The server will be able to use either Apache's authentication process (i.e. via httpd.conf), or PHP's (i.e. coded into your app). The Linux distribution being utilized for this tutorial is Fedora Core 2, however the steps should be very similar across most distributions. . . .
This tutorial is designed to guide you through the initial steps of setting up an Apache, MySQL, and PHP server on Linux which will utilize an external LDAP server for authenticating users. The server will be able to use either Apache's authentication process (i.e. via httpd.conf), or PHP's (i.e. coded into your app). The Linux distribution being utilized for this tutorial is Fedora Core 2, however the steps should be very similar across most distributions.
Apache, MySQL, and PHP have become one of the most utilized combinations for developing content driven websites. They are robust, flexible, provide a decent level of security, and they are available for many different platforms. LDAP, which stands for Lightweight Directory Access Protocol provides a centralized means of authenticating users among other things, and is used by many organizations, the Open Source implementation of LDAP is known as openLDAP and their site is an excellent starting point for learning how to install and configure an LDAP server, openLDAP is provided with most Linux distributions. The focus of this tutorial however is not to build an LDAP server, but instead will focus on building a web server which can utilize an existing LDAP server to handle user authentication and access control.
This tutorial makes the assumption that you have the required development tools loaded for compiling programs from source, these tools are beyond the scope of this document and will not be covered here. Also, it assumes you can use the vi text editor for basic editing tasks.
Read this full article at geekspeek.org
Only registered users can write comments. Please login or register. Powered by AkoComment! |