# -*- apache -*-
#
#  THIS FILE IS SUPPOSED TO COME WITH THE DEBIAN PACKAGE. PATH WILL BE
#  ERRONEOUS FOR A HAND-MADE INSTALLATION
#
#  Written for apache 2.x
#  If you use apache 2.x, read INSTALL.verbose shipped with Savane
#
####################################################################

# If you'd like to put savane on the root of your webserver, 
# you would have to uncomment the following
# Alias / /usr/share/savane-frontend-php/

Alias /savane /usr/share/savane-frontend-php


<Directory /usr/share/savane-frontend-php>
    # Pure apache conf:
    SetEnv SAVANE_CONF /etc/savannah
    Options SymLinksIfOwnerMatch
    AllowOverride None
    AcceptPathInfo On
    ErrorDocument 404 /savane/404.php
    Order Allow,Deny 
    Allow from all

    # PHP conf:
    #  use register_globals and file uploads:
    php_admin_flag register_globals on
    php_admin_flag file_uploads on
    #  for xhtml validity:
    php_value arg_separator.output "&amp;"
 
    # Configure some specials urls:
    <Files u>
	ForceType application/x-httpd-php
    </Files>
    <Files us>
	ForceType application/x-httpd-php
    </Files>
    <Files users>
	ForceType application/x-httpd-php
    </Files>
    <Files projects>
	ForceType application/x-httpd-php
    </Files>
    <Files pr>
	ForceType application/x-httpd-php
    </Files>
    <Files p>
	ForceType application/x-httpd-php
    </Files>

    # Restrict access to testconfig
    <Files testconfig.php>
   	Order Deny,Allow
	Allow from 127.0.0.1
	Deny from All
    </Files>
</Directory>

# End Of File
