apache

WebDAV

Web-based Distributed Authoring and Versioning, or WebDAV, is a set of extensions to the Hypertext Transfer Protocol (HTTP) which allows users to collaboratively edit and manage files on remote World Wide Web servers.

Tutorial - http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Apache-WebDAV-LDAP-HOWTO.html#AEN228

Apache needs to be configured and compiled with the --enable-dav option.

Uncomment the WebDAV config file in /usr/local/apache2/conf/httpd.conf:

# Include conf/extra/httpd-dav.conf

Apache

in

Installation instructions for using PHP with the Apache web server.

Compiling and Installing
Configure PHP with the options you want. In this case, we'll be adding Apache

./configure \
--enable-mbstring \
--with-gd \
--with-gettext \
--with-apxs2=/usr/local/apache2/bin/apxs \

Configuration options:

  • MySQL support
    --with-mysql=/usr/local/mysql
  • LDAP support
    --with-ldap
  • Curl support (required by Drupal's Feeds module)
    --with-curl

    Probably need to install curl-devel package first though:

    yum install curl-devel

SSL Encryption

in

Secure communication with your web server by using self-signed SSL certificates.

The typical method of enabling SSL encryption in Apache is to use mod_ssl. A downside of that approach is that SSL does not work with name-based Virtual Hosts (Why can't I use SSL with name-based/non-IP-based virtual hosts?).

LDAP Authentication

Apache can be configured to authenticate users against an LDAP database, such as Open Directory, part of Apple's OS X Server.

http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
http://blog.case.edu/gps10/2005/02/23/apache2_ssl_ldap_authentication_howto
http://www.nies.ch/doc/apache-ldap-webdav.en.php
Prerequisites

yum install openldap-devel

Installation
To install LDAP authentication support in Apache, it must be configured with:
--with-ldap --enable-ldap --enable-authnz-ldap

NOTE: --with-ldap appears to be broken in Apache 2.2.9.
Might also need:

Apache

in

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards. Apache has been the most popular web server on the Internet since April 1996.

Installation
Download the latest version of the Apache web server. At the time of writing, the current version was 2.2.15.

cd /extra/src
wget http://apache.mirror.rafal.ca/httpd/httpd-2.2.15.tar.gz
tar zxvf httpd-2.2.15.tar.gz
cd httpd-2.2.15

In order to secure parts of our website, we'll enable mod_ssl. Compiling mod_rewrite is useful for rewriting URLs. Drupal, in particular, makes use of this.

Syndicate content