File opensis_include.conf of Package openSIS

#
# Configuration for openSIS
#

<IfDefine OPENSIS>
  UseCanonicalName On
  Alias /opensis "ROOTDIR"

  <Directory ROOTDIR>
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all

    <Files ~ .(inc.php|tpl)>
       Order allow,deny
       Deny from all
    </Files>

    <IfModule mod_php5.c>
       # php settings
       AcceptPathInfo on
       LimitRequestBody 0
       php_admin_flag magic_quotes_gpc on
       php_admin_flag magic_quotes_runtime Off
       php_admin_flag short_open_tag Off
       php_admin_flag session.auto_start Off
       php_admin_flag session.bug_compat_warn Off

       # make sure users dont change the following settings
       php_admin_flag register_globals Off
       php_admin_flag allow_url_include Off
       php_admin_value open_basedir "ROOTDIR:/tmp:/usr/bin"
    </IfModule>

    <IfModule mod_dir.c>
       DirectoryIndex index.php
    </IfModule>

  </Directory>
</IfDefine>
openSUSE Build Service is sponsored by