This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
php-frs/.htaccess
2017-03-28 12:30:13 +02:00

13 lines
290 B
ApacheConf

<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]