Merge pull request 'Set production parameter' (#29) from develop into main
Reviewed-on: https://git.feigel.it/SFBadSteben/schachfreunde-badsteben/pulls/29
This commit is contained in:
@@ -20,7 +20,7 @@ RewriteEngine on
|
|||||||
# In some environments it's necessary to
|
# In some environments it's necessary to
|
||||||
# set the RewriteBase to:
|
# set the RewriteBase to:
|
||||||
#
|
#
|
||||||
# RewriteBase /
|
RewriteBase /
|
||||||
|
|
||||||
# block files and folders beginning with a dot, such as .git
|
# block files and folders beginning with a dot, such as .git
|
||||||
# except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
# except for the .well-known folder, which is used for Let's Encrypt and security.txt
|
||||||
@@ -34,6 +34,7 @@ RewriteRule ^site/(.*) index.php [L]
|
|||||||
|
|
||||||
# block direct access to Kirby and the Panel sources
|
# block direct access to Kirby and the Panel sources
|
||||||
RewriteRule ^kirby/(.*) index.php [L]
|
RewriteRule ^kirby/(.*) index.php [L]
|
||||||
|
RewriteRule ^vendor/getkirby/(.*) index.php [L]
|
||||||
|
|
||||||
# make site links work
|
# make site links work
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'debug' => true,
|
'debug' => false,
|
||||||
|
|
||||||
// Home-Seite explizit definieren
|
// Home-Seite explizit definieren
|
||||||
'home' => 'home',
|
'home' => 'home',
|
||||||
|
|||||||
Reference in New Issue
Block a user