LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule expires_module modules/mod_expires.so


PassEnv HTTPS

ServerName www.maastikuarhitektuur.ee
DocumentRoot /var/www/html
	
RewriteEngine on
<Directory /var/www/html>
	Options FollowSymLinks
	AllowOverride all
	Allow from all

	# This removes index.php from the url
	RewriteCond %{REQUEST_FILENAME} !-d 
	RewriteCond %{REQUEST_FILENAME} !-f 
	RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</Directory>


# ardo: acme.sh jaoks sertifikaadi uuendamiseks
   Alias /.well-known "/var/www/html/public/.well-known"
    <Directory "/var/www/html/public/.well-known/acme-challenge">
    Order allow,deny
    Allow from all
    Require all granted
    </Directory>


ErrorLog  /var/log/apache2/error.log  
CustomLog  /var/log/apache2/access.log combined

