2013-08-28 22:47:04 +02:00
|
|
|
<IfModule mod_rewrite.c>
|
2015-09-27 18:22:44 +02:00
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^(downloads|keys|languages|stuff|template|third_party|tmp) - [F]
|
2013-08-28 22:47:04 +02:00
|
|
|
</IfModule>
|
2015-09-27 18:22:44 +02:00
|
|
|
|
|
|
|
<IfModule mod_rewrite.c>
|
|
|
|
RewriteBase /
|
|
|
|
RewriteRule ^index\.php$ - [L]
|
2018-01-20 11:42:56 +01:00
|
|
|
RewriteCond %{REQUEST_URI} !\.(png|ico|jpg)$
|
2015-09-27 18:22:44 +02:00
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule . /index.php [L]
|
|
|
|
</IfModule>
|
|
|
|
|
|
|
|
<IfVersion >= 2.4>
|
|
|
|
<Files .htaccess>
|
|
|
|
Require all denied
|
|
|
|
</Files>
|
|
|
|
<Files id_rsa>
|
|
|
|
Require all denied
|
|
|
|
</Files>
|
|
|
|
<FilesMatch "\.pub$">
|
|
|
|
Require all denied
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.php$">
|
|
|
|
Require all denied
|
|
|
|
</FilesMatch>
|
2016-05-07 13:04:33 +02:00
|
|
|
<FilesMatch "^(admin|ajax|api|cloud|get_password|images|index|install|jobs|lend|login|protectioncheck|reboot|serverallocation|startupdates|statuscheck|switch|update|userpanel)\.php$">
|
2015-09-27 18:22:44 +02:00
|
|
|
Require all granted
|
|
|
|
</FilesMatch>
|
|
|
|
</IfVersion>
|
|
|
|
|
|
|
|
<IfVersion < 2.4>
|
|
|
|
<Files .htaccess>
|
|
|
|
Order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
<Files id_rsa>
|
|
|
|
Order deny,allow
|
|
|
|
deny from all
|
|
|
|
</Files>
|
|
|
|
<FilesMatch "\.pub$">
|
|
|
|
Order deny,allow
|
|
|
|
deny from all
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.php$">
|
|
|
|
Order deny,allow
|
|
|
|
deny from all
|
|
|
|
</FilesMatch>
|
2016-05-07 13:04:33 +02:00
|
|
|
<FilesMatch "^(admin|ajax|api|cloud|get_password|images|index|install|jobs|lend|login|protectioncheck|reboot|serverallocation|startupdates|statuscheck|switch|update|userpanel)\.php$">
|
2015-09-27 18:22:44 +02:00
|
|
|
Order allow,deny
|
|
|
|
allow from all
|
|
|
|
</FilesMatch>
|
|
|
|
</IfVersion>
|