Files
xeorl/htdocs/.htaccess
2025-02-02 18:45:42 +05:30

10 lines
288 B
ApacheConf
Executable File

Options -Indexes
RewriteEngine On
# Check if the request is not for an existing directory or file
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# Rewrite all other URLs to index.php with the 'url' parameter
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]