# Bristydhara Resort — front controller rules
Options -Indexes
DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>
  RewriteEngine On
  # Any URL that is not a real file or folder shows the custom 404 page
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^ 404.php [L]
</IfModule>

# Fallback when mod_rewrite is off (path is relative to the domain root)
ErrorDocument 404 /404.php
