File FreeSMS.conf.default of Package FreeSMS

# Example configuration for a FreeSMS repository
#
# As default server
# put the string FREESMS in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
# to enable the URL
# http://localhost/FreeSMS
#
# As vhost
# If you want to use FreeSMS in one vhost add
# Include /etc/apache2/vhosts.d/conf.d/FreeSMS.conf
# to the vhost in the vhost.conf file
# put the string FREESMSVHOST in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
# to enable the URL
# http://vhost/FreeSMS
<IfDefine FREESMS>
    # apache can serve the static files directly
    Alias /FreeSMS "/srv/www/FreeSMS/"
    <Directory /srv/www/FreeSMS/>
    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