This repository has been archived on 2025-03-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
frs/.htaccess

15 lines
317 B
ApacheConf

RedirectMatch 404 ^/.git/
<Files ~ "\.json$">
Require all denied
</Files>
RewriteEngine on
# https://wiki.uberspace.de/webserver:htaccess
RewriteCond %{HTTPS} !=on
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteRule ^([^./]+)/?$ /index.php?action=$1 [L,NC]