# Apache configuration file (see https://httpd.apache.org/docs/current/mod/core.html)

# Try mod_rewrite first
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /

	# Redirect all requests to index.php
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

# Fallback if mod_rewrite is not available
<IfModule !mod_rewrite.c>
	FallbackResource /index.php
</IfModule>
