File websiteatschool.conf.vhost of Package websiteatschool

# Example configuration for a siteatschool repository
#
# As default server
# put the string WEBSITEATSCHOOL in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
# to enable the URL
# http://localhost/siteatschool
#
# As vhost
# If you want to use siteatschool in one vhost add
# Include /etc/apache2/vhosts.d/conf.d/siteatschool.conf
# to the vhost in the vhost.conf file
# put the string WEBSITEATSCHOOLVHOST in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
# to enable the URL
# http://vhost/siteatschool
<IfDefine WEBSITEATSCHOOLVHOST>
  # apache can serve the static files directly
  Alias /siteatschool "/srv/www/siteatschool/"
  <Directory /srv/www/siteatschool/>
  AllowOverride AuthConfig Limit
  <IfModule mod_authz_core.c>
    # Apache 2.4
    <RequireAll>
       Require all granted
    </RequireAll>
  </IfModule>
  <IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Allow from all
  </IfModule>
  </Directory>
</IfDefine>
openSUSE Build Service is sponsored by