415 lines
7.1 KiB
HTML
415 lines
7.1 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Introduction</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Apache based WebDAV Server with LDAP and SSL "
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Apache based WebDAV Server with LDAP and SSL "
|
|
HREF="index.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Requirements"
|
|
HREF="x123.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Apache based WebDAV Server with LDAP and SSL</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x123.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="intro"
|
|
></A
|
|
>1. Introduction</H1
|
|
><P
|
|
>The Objective of this document in to Setup a Apache + mySQL + PHP + WebDAV based Web Application Server, that uses LDAP for Authentication. The documentation will also provide details on the encrypting LDAP transactions.</P
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>Note:</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>If you encounter any problems installing Apache or any of the modules please feel free to contact me @ <TT
|
|
CLASS="email"
|
|
><<A
|
|
HREF="mailto:saqib@seagate.com"
|
|
>saqib@seagate.com</A
|
|
>></TT
|
|
></P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN52"
|
|
></A
|
|
>1.1. About this document</H2
|
|
><P
|
|
>This document was originally written in 2001. Since then many updates and new additions have been made. Thanks to all the people who submitted updates and corrections.</P
|
|
><P
|
|
>The XML source of this document is available at <A
|
|
HREF="http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.xml"
|
|
TARGET="_top"
|
|
>http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.xml</A
|
|
>.</P
|
|
><P
|
|
>The latest version of the document is available at <A
|
|
HREF="http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.html"
|
|
TARGET="_top"
|
|
>http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.html</A
|
|
>.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN59"
|
|
></A
|
|
>1.2. Contributions to the document</H2
|
|
><P
|
|
>If you like to contribute to the HOWTO, you can d/l the XML source from <A
|
|
HREF="http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.xml"
|
|
TARGET="_top"
|
|
>http://www.xml-dev.com:8080/cocoon/mount/docbook/Apache-WebDAV-LDAP-HOWTO.xml</A
|
|
> , and send in the updated source to saqib@seagate.com ALONG WITH YOUR NAME IN THE LIST OF AUTHORS AND REVISION HISTORY :). That makes it easier for me contact the person if there are any updates/corrections. Thanks.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN63"
|
|
></A
|
|
>1.3. What is Apache?</H2
|
|
><P
|
|
>The Apache HTTP Server is an open-source HTTP server for modern operating systems including UNIX and Windows NT. It provides HTTP services in sync with the current HTTP standards. </P
|
|
><P
|
|
>Thei Apache WebServer is available for free download from <A
|
|
HREF="http://httpd.apache.org/"
|
|
TARGET="_top"
|
|
>http://httpd.apache.org/</A
|
|
></P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN68"
|
|
></A
|
|
>1.4. What is WebDAV?</H2
|
|
><P
|
|
> WebDAV stands for Web enabled Distributed Authoring and Versioning. It provides a collaborative environment for users to edit/manage files on web-servers. Technically DAV is an extension to the http protocol.</P
|
|
><P
|
|
>Here is a brief description of the extensions provided by DAV:</P
|
|
><P
|
|
><EM
|
|
>Overwrite Protection:</EM
|
|
> Lock and Unlock mechanism to prevent the "lost update problem". DAV protocol support both shared and exclusive locks.</P
|
|
><P
|
|
><EM
|
|
>Properties:</EM
|
|
> Metadata (title, subject, creater, etc)</P
|
|
><P
|
|
><EM
|
|
>Name-space management:</EM
|
|
> Copy, Rename, Move and Deletion of files</P
|
|
><P
|
|
><EM
|
|
>Access Control:</EM
|
|
> Limit access to various resources. Currently DAV assumes access control is already in place, and does not provide strong authentication mechanism.</P
|
|
><P
|
|
><EM
|
|
>Versioning:</EM
|
|
> Revision control for the documents. Versioning is not implemented yet.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN82"
|
|
></A
|
|
>1.5. What is PHP?</H2
|
|
><P
|
|
>PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.</P
|
|
><P
|
|
>PHP is available from <A
|
|
HREF="http://www.php.net"
|
|
TARGET="_top"
|
|
>http://www.php.net</A
|
|
></P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN87"
|
|
></A
|
|
>1.6. What is mySQL?</H2
|
|
><P
|
|
>MySQL, the most popular Open Source SQL database, is developed, distributed, and supported by MySQL AB</P
|
|
><P
|
|
>mySQL DB Engine can be downloaded from <A
|
|
HREF="http://www.mysql.com/"
|
|
TARGET="_top"
|
|
>http://www.mysql.com/</A
|
|
></P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN92"
|
|
></A
|
|
>1.7. What do we need?</H2
|
|
><P
|
|
> The tools needed to achieve this objective are:</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="i"
|
|
><LI
|
|
><P
|
|
>C Compiler e.g. GCC</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Apache 2 Web Server</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>LDAP Module for Apache</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>iPlanet LDAP lib files</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>SSL engine</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>PHP</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>mySQL DB Engine</P
|
|
></LI
|
|
></OL
|
|
><DIV
|
|
CLASS="note"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="note"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="CENTER"
|
|
><B
|
|
>Note:</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> </TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
>All of these packages are free and are available for download on the net.</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN113"
|
|
></A
|
|
>1.8. Assumptions</H2
|
|
><P
|
|
> This document assumes that you have the following already installed on your system.</P
|
|
><P
|
|
></P
|
|
><OL
|
|
TYPE="i"
|
|
><LI
|
|
><P
|
|
>gzip or gunzip - available from <A
|
|
HREF="http://www.gnu.org"
|
|
TARGET="_top"
|
|
>http://www.gnu.org</A
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>gcc and GNU make - available from <A
|
|
HREF="http://www.gnu.org"
|
|
TARGET="_top"
|
|
>http://www.gnu.org</A
|
|
></P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x123.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Apache based WebDAV Server with LDAP and SSL</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Requirements</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |