# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2005 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------


  # $Id: apache-default-uri 12 2006-04-12 21:35:41Z steve-beattie $

  # These entries are common document locations that should be served
  # from apache's DEFAULT_URI subprofile.

  # Note that mod_perl, mod_php, mod_python, etc, allows in-apache
  # execution of content regardless of 'x' permissions, as no exec(2)
  # takes place to perform a domain change.

  # suexec execution of CGIs will require appropriate permissions
  /usr/sbin/suexec2 ixr,

  # Allow logging on suse:
  /var/log/apache2/** rwl,
  # Allow logging on red hat:
  /var/log/httpd/**   rwl,

  # Allow any CGIs in user directories to run, inheriting the apache profile:
  # /home/*/public_html/**             ixr,
  # (note that if you are using mod_change_hat, you have a choice of
  # providing neccesary access in this file OR in URI-specific hats, or
  # hats in the <VHost>, <Location>, or <Directory> directives. Please
  # see the user's guide for more information.

  # Allow site-wide CGIs to run, inheriting the apache profile:
  # /srv/www/cgi-bin/**        ixr,
  # /var/www/cgi-bin/**        ixr,

  /home/*/public_html                r,
  /home/*/public_html/**             r,
  # Red Hat locations
  /var/www/html/**                   r,
  /var/www/icons/*.{gif,jpg,png}     r,
  /var/www/error/*                   r,
  # SuSE locations (LSB?)
  /srv/www/htdocs                    r,
  /srv/www/htdocs/**                 r,
  /srv/www/icons/*.{gif,jpg,png}     r,
  # SuSE location of the apache manual + error pages
  /usr/share/apache2/**              r,

  # php session state
  /var/lib/php/sess_*                rwl,

