# .htaccess in uhd-lite root
Options -Indexes
RewriteEngine On

# Block access to config.php
<Files "config.php">
    Order Allow,Deny
    Deny from all
</Files>

# Prevent direct access to include folder
RewriteRule ^include/ - [F,L]

# Pretty URLs (optional)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?page=$1 [QSA,L]