ServerName XXXXX.tld
DocumentRoot XXXXX
AllowOverride AuthConfig FileInfo Limit
Options +ndexes SymLinksIfOwnerMatch
RewriteEngine on
RewriteRule ^/inc/ - [L]
RewriteRule /([a-z0-9:]+)/([a-z0-9:]+)/([a-z0-9:]+) /index.php?1=$1&2=$2&3=$3 [L]
RewriteRule /([a-z0-9:]+)/([a-z0-9:]+) /index.php?1=$1&2=$2 [L]
RewriteRule /([a-z0-9:]+) /index.php?1=$1 [L]
AccessFileName .htaccess
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
Order allow,deny
Deny from all
# put "Options -Indexes" inside a .htacces in the path you wouldn't have browseable