Rewrite file downloads in htaccess
This commit is contained in:
parent
8b32989a07
commit
88febcc15b
3 changed files with 11 additions and 3 deletions
|
|
@ -1,3 +1,12 @@
|
|||
<IfModule mod_alias.c>
|
||||
RedirectMatch 404 ^/\.git
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteRule ^$ feiertage.php [L]
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^Feiertage([A-Za-z]*)([0-9]+)\.ics$ feiertage.php?jahr=$2&land=$1 [L]
|
||||
</IfModule>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue