Files
ip-returner/.htaccess
2023-06-14 13:39:19 +02:00

14 lines
328 B
ApacheConf

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ /index.php?m=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?m=$1&t=$2 [L]
# Hide .git on webserver
RedirectMatch 404 /\.git