old-www/HOWTO/Apache-WebDAV-LDAP-HOWTO/index.html

512 lines
6.6 KiB
HTML

<HTML
><HEAD
><TITLE
>Apache based WebDAV Server with LDAP and SSL </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="intro.html"></HEAD
><BODY
CLASS="article"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
><A
NAME="AEN2"
></A
>Apache based WebDAV Server with LDAP and SSL</H1
><H3
CLASS="author"
><A
NAME="AEN4"
>Saqib Ali</A
></H3
><DIV
CLASS="affiliation"
><DIV
CLASS="address"
><P
CLASS="address"
><br>
&nbsp;<TT
CLASS="email"
>&#60;<A
HREF="mailto:saqib@seagate.com"
>saqib@seagate.com</A
>&#62;</TT
><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
><SPAN
CLASS="orgname"
><A
HREF="http://www.xml-dev.com"
TARGET="_top"
>Offshore XML/XHTML Development</A
><BR></SPAN
></DIV
><DIV
CLASS="revhistory"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.1.2</TD
><TD
ALIGN="LEFT"
>2003-10-17</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Added the SSL performance tuning section.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.1.1</TD
><TD
ALIGN="LEFT"
>2003-09-29</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated the SSL section based on the feedback received from readers.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.1.0</TD
><TD
ALIGN="LEFT"
>2003-09-02</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated the SSL section based on the feedback received from readers.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.0.2</TD
><TD
ALIGN="LEFT"
>2003-08-01</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Minor updates to the Apache configure cmd line. /dev/random referenced in the SSL section.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.0.1</TD
><TD
ALIGN="LEFT"
>2003-07-27</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Added more information to the SSL section.</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision v4.0</TD
><TD
ALIGN="LEFT"
>2003-06-29</TD
><TD
ALIGN="LEFT"
>Revised by: sa</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Updated the HOWTO for Apache 2.0. Also the source is in XML</TD
></TR
></TABLE
></DIV
><DIV
><DIV
CLASS="abstract"
><A
NAME="AEN43"
></A
><P
></P
><P
>.This document is an HOWTO on installing a Apache based WebDAV server with LDAP for authentication and SSL encryption.</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="intro.html"
>Introduction</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="intro.html#AEN52"
>About this document</A
></DT
><DT
>1.2. <A
HREF="intro.html#AEN59"
>Contributions to the document</A
></DT
><DT
>1.3. <A
HREF="intro.html#AEN63"
>What is Apache?</A
></DT
><DT
>1.4. <A
HREF="intro.html#AEN68"
>What is WebDAV?</A
></DT
><DT
>1.5. <A
HREF="intro.html#AEN82"
>What is PHP?</A
></DT
><DT
>1.6. <A
HREF="intro.html#AEN87"
>What is mySQL?</A
></DT
><DT
>1.7. <A
HREF="intro.html#AEN92"
>What do we need?</A
></DT
><DT
>1.8. <A
HREF="intro.html#AEN113"
>Assumptions</A
></DT
></DL
></DD
><DT
>2. <A
HREF="x123.html"
>Requirements</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="x123.html#AEN126"
>Basics</A
></DT
><DT
>2.2. <A
HREF="x123.html#AEN129"
>Apache 2.0.46</A
></DT
><DT
>2.3. <A
HREF="x123.html#AEN133"
>OpenSSL</A
></DT
><DT
>2.4. <A
HREF="x123.html#AEN137"
>iPlanet LDAP Library</A
></DT
><DT
>2.5. <A
HREF="x123.html#AEN141"
>mod_auth_ldap</A
></DT
><DT
>2.6. <A
HREF="x123.html#AEN145"
>mySQL DB Engine</A
></DT
><DT
>2.7. <A
HREF="x123.html#AEN149"
>PHP</A
></DT
></DL
></DD
><DT
>3. <A
HREF="x153.html"
>Installation</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="x153.html#AEN156"
>Pre-requisites</A
></DT
><DT
>3.2. <A
HREF="x153.html#AEN191"
>mySQL</A
></DT
><DT
>3.3. <A
HREF="x153.html#AEN228"
>Apache 2.0</A
></DT
><DT
>3.4. <A
HREF="x153.html#AEN254"
>mod_auth_ldap</A
></DT
><DT
>3.5. <A
HREF="x153.html#AEN267"
>CERT DB for LDAPS://</A
></DT
><DT
>3.6. <A
HREF="x153.html#AEN273"
>PHP</A
></DT
></DL
></DD
><DT
>4. <A
HREF="config-webdav.html"
>Configuring and Setting up the
WebDAV services</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="config-webdav.html#AEN293"
>Modifications to the
<TT
CLASS="filename"
>/usr/local/apache/conf/httpd.conf</TT
></A
></DT
><DT
>4.2. <A
HREF="config-webdav.html#AEN309"
>Creating a directory for DAVLockDB</A
></DT
><DT
>4.3. <A
HREF="config-webdav.html#AEN323"
>Enabling DAV</A
></DT
><DT
>4.4. <A
HREF="config-webdav.html#AEN333"
>Create a Directory called DAVtest</A
></DT
><DT
>4.5. <A
HREF="config-webdav.html#AEN347"
>Restart Apache</A
></DT
><DT
>4.6. <A
HREF="config-webdav.html#AEN359"
>WebDAV server protocol compliance testing</A
></DT
></DL
></DD
><DT
>5. <A
HREF="x383.html"
>WebDAV server management</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="x383.html#AEN396"
>Restricting access to DAV shares</A
></DT
><DT
>5.2. <A
HREF="x383.html#AEN416"
>Restricting write access to DAV shares</A
></DT
></DL
></DD
><DT
>6. <A
HREF="ssl.html"
>Implementing and using SSL to secure HTTP traffic</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="ssl.html#AEN429"
>Introduction to SSL</A
></DT
><DT
>6.2. <A
HREF="ssl.html#AEN493"
>Test Certificates</A
></DT
><DT
>6.3. <A
HREF="ssl.html#AEN499"
>Certificates for Production use</A
></DT
><DT
>6.4. <A
HREF="ssl.html#AEN503"
>How to generate a CSR</A
></DT
><DT
>6.5. <A
HREF="ssl.html#InstallingServerCert"
>Installing Server Private Key, and Server Certificate</A
></DT
><DT
>6.6. <A
HREF="ssl.html#AEN605"
>Removing passphrase from the RSA Private Key</A
></DT
><DT
>6.7. <A
HREF="ssl.html#AEN631"
>SSL Performance Tuning</A
></DT
></DL
></DD
><DT
>A. <A
HREF="a656.html"
>HTTP/HTTPS Benchmarking tools</A
></DT
><DT
>B. <A
HREF="a669.html"
>Hardware based SSL encryption solutions</A
></DT
><DT
>C. <A
HREF="a679.html"
>Certificate Authorities</A
></DT
><DT
><A
HREF="glossary.html"
>Glossary of PKI Terms</A
></DT
></DL
></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"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="intro.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>