Install template
This commit is contained in:
parent
53cde804f0
commit
a9b3ffb449
4
.gitignore
vendored
4
.gitignore
vendored
@ -9,4 +9,6 @@ nbproject
|
|||||||
!/public/typo3conf
|
!/public/typo3conf
|
||||||
/public/typo3conf/*
|
/public/typo3conf/*
|
||||||
!/public/typo3conf/LocalConfiguration.php
|
!/public/typo3conf/LocalConfiguration.php
|
||||||
!/public/typo3conf/AdditionalConfiguration.php
|
!/public/typo3conf/AdditionalConfiguration.php
|
||||||
|
|
||||||
|
t3bootstrap*.zip
|
@ -14,6 +14,11 @@
|
|||||||
ddev restart
|
ddev restart
|
||||||
ddev exec touch public/FIRST_INSTALL
|
ddev exec touch public/FIRST_INSTALL
|
||||||
```
|
```
|
||||||
|
1. Das T3Bootstrap Template laden
|
||||||
|
```bash
|
||||||
|
curl -o t3bootstrap12.zip https://wappler.systems/fileadmin/t3bootstrap12_242828724/t3bootstrap12_20231114.zip
|
||||||
|
unzip t3bootstrap12.zip
|
||||||
|
```
|
||||||
|
|
||||||
## Benutzung
|
## Benutzung
|
||||||
```bash
|
```bash
|
||||||
|
123
composer.json
123
composer.json
@ -1,43 +1,84 @@
|
|||||||
{
|
{
|
||||||
"name": "typo3/cms-base-distribution",
|
"repositories": [
|
||||||
"description" : "TYPO3 CMS Base Distribution",
|
{
|
||||||
"license": "GPL-2.0-or-later",
|
"type": "composer",
|
||||||
"type": "project",
|
"url": "https://git.wappler.systems/api/packages/T3Bootstrap12/composer"
|
||||||
"config": {
|
},
|
||||||
"allow-plugins": {
|
{
|
||||||
"typo3/class-alias-loader": true,
|
"type": "git",
|
||||||
"typo3/cms-composer-installers": true
|
"url": "https://github.com/svewap/typo3-cms-dashboard-in-toolbar.git"
|
||||||
},
|
},
|
||||||
"platform": {
|
{
|
||||||
"php": "8.1.1"
|
"type": "git",
|
||||||
},
|
"url": "https://github.com/svewap/extension-cookieman.git"
|
||||||
"sort-packages": true
|
}
|
||||||
},
|
],
|
||||||
"require": {
|
"name": "t3bootstrap/demo",
|
||||||
"typo3/cms-backend": "^12.4.0",
|
"description": "TYPO3 CMS Base Distribution",
|
||||||
"typo3/cms-belog": "^12.4.0",
|
"license": "GPL-2.0-or-later",
|
||||||
"typo3/cms-beuser": "^12.4.0",
|
"config": {
|
||||||
"typo3/cms-core": "^12.4.0",
|
"platform": {
|
||||||
"typo3/cms-dashboard": "^12.4.0",
|
"php": "8.2.0"
|
||||||
"typo3/cms-extbase": "^12.4.0",
|
},
|
||||||
"typo3/cms-extensionmanager": "^12.4.0",
|
"sort-packages": true,
|
||||||
"typo3/cms-felogin": "^12.4.0",
|
"allow-plugins": {
|
||||||
"typo3/cms-filelist": "^12.4.0",
|
"typo3/class-alias-loader": true,
|
||||||
"typo3/cms-fluid": "^12.4.0",
|
"typo3/cms-composer-installers": true
|
||||||
"typo3/cms-fluid-styled-content": "^12.4.0",
|
}
|
||||||
"typo3/cms-form": "^12.4.0",
|
},
|
||||||
"typo3/cms-frontend": "^12.4.0",
|
"require": {
|
||||||
"typo3/cms-impexp": "^12.4.0",
|
"clickstorm/go-maps-ext": "^6",
|
||||||
"typo3/cms-info": "^12.4.0",
|
"dmind/cookieman": "dev-12-svewap",
|
||||||
"typo3/cms-install": "^12.4.0",
|
"georgringer/news": "^11",
|
||||||
"typo3/cms-reactions": "^12.4.0",
|
"georgringer/numbered-pagination": "^1.0",
|
||||||
"typo3/cms-rte-ckeditor": "^12.4.0",
|
"helhum/typo3-console": "^8.0",
|
||||||
"typo3/cms-seo": "^12.4.0",
|
"plan2net/webp": "^5.0",
|
||||||
"typo3/cms-setup": "^12.4.0",
|
"r3h6/form-translator": "^2.0",
|
||||||
"typo3/cms-sys-note": "^12.4.0",
|
"t3bootstrap/template": "^12",
|
||||||
"typo3/cms-t3editor": "^12.4.0",
|
"typo3/cms-adminpanel": "^12",
|
||||||
"typo3/cms-tstemplate": "^12.4.0",
|
"typo3/cms-backend": "^12",
|
||||||
"typo3/cms-viewpage": "^12.4.0",
|
"typo3/cms-belog": "^12",
|
||||||
"typo3/cms-webhooks": "^12.4.0"
|
"typo3/cms-beuser": "^12",
|
||||||
}
|
"typo3/cms-core": "^12",
|
||||||
|
"typo3/cms-dashboard": "^12",
|
||||||
|
"typo3/cms-extbase": "^12",
|
||||||
|
"typo3/cms-extensionmanager": "^12",
|
||||||
|
"typo3/cms-felogin": "^12",
|
||||||
|
"typo3/cms-filelist": "^12",
|
||||||
|
"typo3/cms-fluid": "^12",
|
||||||
|
"typo3/cms-fluid-styled-content": "^12",
|
||||||
|
"typo3/cms-form": "^12",
|
||||||
|
"typo3/cms-frontend": "^12",
|
||||||
|
"typo3/cms-impexp": "^12",
|
||||||
|
"typo3/cms-indexed-search": "^12",
|
||||||
|
"typo3/cms-info": "^12",
|
||||||
|
"typo3/cms-install": "^12",
|
||||||
|
"typo3/cms-linkvalidator": "^12.4",
|
||||||
|
"typo3/cms-lowlevel": "^12",
|
||||||
|
"typo3/cms-reactions": "^12",
|
||||||
|
"typo3/cms-recordlist": "^12",
|
||||||
|
"typo3/cms-recycler": "^12",
|
||||||
|
"typo3/cms-redirects": "^12",
|
||||||
|
"typo3/cms-reports": "^12",
|
||||||
|
"typo3/cms-rte-ckeditor": "^12",
|
||||||
|
"typo3/cms-scheduler": "^12",
|
||||||
|
"typo3/cms-seo": "^12",
|
||||||
|
"typo3/cms-setup": "^12",
|
||||||
|
"typo3/cms-sys-note": "^12",
|
||||||
|
"typo3/cms-t3editor": "^12",
|
||||||
|
"typo3/cms-tstemplate": "^12",
|
||||||
|
"typo3/cms-viewpage": "^12",
|
||||||
|
"typo3/cms-webhooks": "^12.4",
|
||||||
|
"wapplersystems/save_and_close": "^12.0",
|
||||||
|
"wapplersystems/ws_t3bootstrap": "^12",
|
||||||
|
"wapplersystems/ws-slider": "^12"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"typo3-cms-scripts": [
|
||||||
|
"@php vendor/bin/typo3 install:fixfolderstructure"
|
||||||
|
],
|
||||||
|
"post-autoload-dump": [
|
||||||
|
"@typo3-cms-scripts"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
380
config/sites/default/config.yaml
Executable file
380
config/sites/default/config.yaml
Executable file
@ -0,0 +1,380 @@
|
|||||||
|
base: '/'
|
||||||
|
errorHandling:
|
||||||
|
-
|
||||||
|
errorCode: 500
|
||||||
|
errorHandler: Page
|
||||||
|
errorContentSource: 't3://page?uid=234'
|
||||||
|
-
|
||||||
|
errorCode: 403
|
||||||
|
errorHandler: Page
|
||||||
|
errorContentSource: 't3://page?uid=235'
|
||||||
|
-
|
||||||
|
errorCode: 404
|
||||||
|
errorHandler: Page
|
||||||
|
errorContentSource: 't3://page?uid=16'
|
||||||
|
flux_content_types: ''
|
||||||
|
flux_page_templates: ''
|
||||||
|
languages:
|
||||||
|
-
|
||||||
|
title: Deutsch
|
||||||
|
enabled: true
|
||||||
|
languageId: 0
|
||||||
|
base: /de/
|
||||||
|
typo3Language: de
|
||||||
|
locale: de_DE.utf8
|
||||||
|
iso-639-1: de
|
||||||
|
navigationTitle: Deutsch
|
||||||
|
hreflang: de
|
||||||
|
direction: ltr
|
||||||
|
flag: de
|
||||||
|
-
|
||||||
|
title: Englisch
|
||||||
|
enabled: true
|
||||||
|
languageId: 1
|
||||||
|
base: /en/
|
||||||
|
typo3Language: default
|
||||||
|
locale: en_US.utf8
|
||||||
|
iso-639-1: en
|
||||||
|
navigationTitle: English
|
||||||
|
hreflang: en
|
||||||
|
direction: ltr
|
||||||
|
fallbackType: strict
|
||||||
|
fallbacks: ''
|
||||||
|
flag: en-us-gb
|
||||||
|
rootPageId: 1
|
||||||
|
routeEnhancers:
|
||||||
|
Calendarize:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 128
|
||||||
|
- 130
|
||||||
|
extension: Calendarize
|
||||||
|
plugin: Calendar
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_event_label}/{index}'
|
||||||
|
_controller: 'Calendar::detail'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_year_label}/{year}'
|
||||||
|
_controller: 'Calendar::year'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_quarter_label}/{quarter}'
|
||||||
|
_controller: 'Calendar::quarter'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_month_label}/{year}/{month}'
|
||||||
|
_controller: 'Calendar::month'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_week_label}/{year}/{week}'
|
||||||
|
_controller: 'Calendar::week'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_day_label}/{year}/{month}/{day}'
|
||||||
|
_controller: 'Calendar::day'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_result_page_label}/{currentPage}'
|
||||||
|
_controller: 'Calendar::result'
|
||||||
|
-
|
||||||
|
routePath: '/{calendarize_page_label}/{currentPage}'
|
||||||
|
_controller: 'Calendar::list'
|
||||||
|
defaultController: 'Calendar::list'
|
||||||
|
aspects:
|
||||||
|
index:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_calendarize_domain_model_index
|
||||||
|
routeFieldName: slug
|
||||||
|
year:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '2015'
|
||||||
|
end: '2040'
|
||||||
|
quarter:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '4'
|
||||||
|
month:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '12'
|
||||||
|
week:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '53'
|
||||||
|
day:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '31'
|
||||||
|
currentPage:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '1000'
|
||||||
|
calendarize_event_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: event
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: termin
|
||||||
|
calendarize_year_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: year
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: jahr
|
||||||
|
calendarize_quarter_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: quarter
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: quartal
|
||||||
|
calendarize_month_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: month
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: monat
|
||||||
|
calendarize_week_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: week
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: woche
|
||||||
|
calendarize_day_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: day
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: tag
|
||||||
|
calendarize_page_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: page
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: seite
|
||||||
|
calendarize_result_page_label:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: result-page
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
value: ergebnis-seite
|
||||||
|
NewsPluginDetail:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 123
|
||||||
|
- 146
|
||||||
|
extension: News
|
||||||
|
plugin: Pi1
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{news_title}'
|
||||||
|
_controller: 'News::detail'
|
||||||
|
_arguments:
|
||||||
|
news_title: news
|
||||||
|
defaultController: 'News::detail'
|
||||||
|
aspects:
|
||||||
|
news_title:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_news_domain_model_news
|
||||||
|
routeFieldName: path_segment
|
||||||
|
routeValuePrefix: ''
|
||||||
|
DpnGlossaryDetail:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 100
|
||||||
|
extension: dpn_glossary
|
||||||
|
plugin: Glossary
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{slug_segment}'
|
||||||
|
_controller: 'Term::show'
|
||||||
|
_arguments:
|
||||||
|
slug_segment: term
|
||||||
|
defaultController: 'Term::show'
|
||||||
|
aspects:
|
||||||
|
slug_segment:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_dpnglossary_domain_model_term
|
||||||
|
routeFieldName: url_segment
|
||||||
|
routeValuePrefix: ''
|
||||||
|
NewsPluginList:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 39
|
||||||
|
extension: News
|
||||||
|
plugin: Pi1
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{page}'
|
||||||
|
_controller: 'News::list'
|
||||||
|
_arguments:
|
||||||
|
page: currentPage
|
||||||
|
defaultController: 'News::list'
|
||||||
|
defaults:
|
||||||
|
page: 1
|
||||||
|
requirements:
|
||||||
|
page: \d+
|
||||||
|
aspects:
|
||||||
|
page:
|
||||||
|
type: StaticRangeMapper
|
||||||
|
start: '1'
|
||||||
|
end: '100'
|
||||||
|
NewsArchive:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 13
|
||||||
|
extension: News
|
||||||
|
plugin: Pi1
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{year}/{month}'
|
||||||
|
_controller: 'News::archive'
|
||||||
|
defaultController: 'News::list'
|
||||||
|
defaults:
|
||||||
|
month: ''
|
||||||
|
aspects:
|
||||||
|
month:
|
||||||
|
type: StaticValueMapper
|
||||||
|
map:
|
||||||
|
january: 1
|
||||||
|
february: 2
|
||||||
|
march: 3
|
||||||
|
april: 4
|
||||||
|
may: 5
|
||||||
|
june: 6
|
||||||
|
july: 7
|
||||||
|
august: 8
|
||||||
|
september: 9
|
||||||
|
october: 10
|
||||||
|
november: 11
|
||||||
|
december: 12
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
map:
|
||||||
|
januar: 1
|
||||||
|
februar: 2
|
||||||
|
maerz: 3
|
||||||
|
april: 4
|
||||||
|
mai: 5
|
||||||
|
juni: 6
|
||||||
|
juli: 7
|
||||||
|
august: 8
|
||||||
|
september: 9
|
||||||
|
oktober: 10
|
||||||
|
november: 11
|
||||||
|
dezember: 12
|
||||||
|
BlogArchiveDate:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 242
|
||||||
|
extension: Blog
|
||||||
|
plugin: Archive
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{year}'
|
||||||
|
_controller: 'Post::listPostsByDate'
|
||||||
|
-
|
||||||
|
routePath: '/{year}/{format}'
|
||||||
|
_controller: 'Post::listPostsByDate'
|
||||||
|
-
|
||||||
|
routePath: '/{year}/{month}'
|
||||||
|
_controller: 'Post::listPostsByDate'
|
||||||
|
-
|
||||||
|
routePath: '/{year}/{month}/{format}'
|
||||||
|
_controller: 'Post::listPostsByDate'
|
||||||
|
requirements:
|
||||||
|
month: '[a-zA-Z0-9].*'
|
||||||
|
year: '[0-9]{1,4}'
|
||||||
|
aspects:
|
||||||
|
month:
|
||||||
|
type: StaticValueMapper
|
||||||
|
map:
|
||||||
|
january: 1
|
||||||
|
february: 2
|
||||||
|
march: 3
|
||||||
|
april: 4
|
||||||
|
may: 5
|
||||||
|
june: 6
|
||||||
|
july: 7
|
||||||
|
august: 8
|
||||||
|
september: 9
|
||||||
|
october: 10
|
||||||
|
november: 11
|
||||||
|
december: 12
|
||||||
|
localeMap:
|
||||||
|
-
|
||||||
|
locale: 'de_.*'
|
||||||
|
map:
|
||||||
|
januar: 1
|
||||||
|
februar: 2
|
||||||
|
maerz: 3
|
||||||
|
april: 4
|
||||||
|
mai: 5
|
||||||
|
juni: 6
|
||||||
|
juli: 7
|
||||||
|
august: 8
|
||||||
|
september: 9
|
||||||
|
oktober: 10
|
||||||
|
november: 11
|
||||||
|
dezember: 12
|
||||||
|
BlogPosts:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 162
|
||||||
|
extension: Blog
|
||||||
|
plugin: Posts
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: /neuste/
|
||||||
|
_controller: 'Post::listRecentPosts'
|
||||||
|
requirements:
|
||||||
|
format: rss
|
||||||
|
IndexedSearch:
|
||||||
|
type: Extbase
|
||||||
|
limitToPages:
|
||||||
|
- 11
|
||||||
|
extension: IndexedSearch
|
||||||
|
defaultController: 'Search::search'
|
||||||
|
plugin: Pi2
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: /search
|
||||||
|
_controller: 'Search::search'
|
||||||
|
ForgotPassword:
|
||||||
|
type: Plugin
|
||||||
|
limitToPages:
|
||||||
|
- 41
|
||||||
|
routePath: '/forgot-password/{user}/{hash}'
|
||||||
|
namespace: tx_felogin_pi1
|
||||||
|
defaults:
|
||||||
|
forgot: '1'
|
||||||
|
requirements:
|
||||||
|
forgot: '[0-9]{1..3}'
|
||||||
|
hash: '^[a-zA-Z0-9]{32}$'
|
||||||
|
Suffix:
|
||||||
|
type: PageType
|
||||||
|
index: ''
|
||||||
|
map:
|
||||||
|
.json: 10
|
||||||
|
rss.feed: 200
|
||||||
|
sitemap.xml: 1533906435
|
||||||
|
ajax: 989862
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
route: robots.txt
|
||||||
|
type: staticText
|
||||||
|
content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
|
||||||
|
-
|
||||||
|
route: /sitemap.de.xml
|
||||||
|
type: uri
|
||||||
|
source: 't3://page?uid=240&type=1533906435'
|
||||||
|
-
|
||||||
|
route: /sitemap.en.xml
|
||||||
|
type: uri
|
||||||
|
source: 't3://page?uid=240&type=1533906435&_language=1'
|
||||||
|
txCsseoXdefault: 0
|
||||||
|
websiteTitle: 'T3Bootstrap 12 Demo'
|
@ -1,18 +1,92 @@
|
|||||||
<?php
|
<?php
|
||||||
return [
|
return [
|
||||||
'BE' => [
|
'BE' => [
|
||||||
'debug' => false,
|
'debug' => true,
|
||||||
'installToolPassword' => '$argon2i$v=19$m=65536,t=16,p=1$QUdFS0s3NWtac1NJei9xOQ$bmqOuVTywXrqgZfYmjFKbQx1P70gMwYzJ9FNrkkhMQE',
|
'disable_exec_function' => 0,
|
||||||
|
'installToolPassword' => '$argon2i$v=19$m=65536,t=16,p=1$VGl5N29SYUNuNzV0UURvbQ$MMF6zCLY+SpWT6pOC1UiZnShmWegZmmA7+m5ZP3plXo',
|
||||||
'passwordHashing' => [
|
'passwordHashing' => [
|
||||||
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
||||||
'options' => [],
|
'options' => [],
|
||||||
],
|
],
|
||||||
|
'sessionTimeout' => 36000,
|
||||||
|
'versionNumberInFilename' => '0',
|
||||||
],
|
],
|
||||||
'DB' => [
|
'DB' => [
|
||||||
'Connections' => [
|
'Connections' => [
|
||||||
'Default' => [
|
'Default' => [
|
||||||
'charset' => 'utf8',
|
'charset' => 'utf8mb4',
|
||||||
|
'dbname' => '',
|
||||||
'driver' => 'mysqli',
|
'driver' => 'mysqli',
|
||||||
|
'host' => '127.0.0.1',
|
||||||
|
'password' => '',
|
||||||
|
'tableoptions' => [
|
||||||
|
'charset' => 'utf8mb4',
|
||||||
|
'collate' => 'utf8mb4_general_ci',
|
||||||
|
],
|
||||||
|
'unix_socket' => '',
|
||||||
|
'user' => '',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'extTablesDefinitionScript' => 'extTables.php',
|
||||||
|
],
|
||||||
|
'EXT' => [],
|
||||||
|
'EXTCONF' => [
|
||||||
|
'helhum-typo3-console' => [
|
||||||
|
'initialUpgradeDone' => '9.5',
|
||||||
|
],
|
||||||
|
'lang' => [
|
||||||
|
'availableLanguages' => [
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'de',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
|
'',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -33,23 +107,28 @@ return [
|
|||||||
],
|
],
|
||||||
'FE' => [
|
'FE' => [
|
||||||
'cacheHash' => [
|
'cacheHash' => [
|
||||||
'enforceValidation' => true,
|
'cachedParametersWhiteList' => [],
|
||||||
],
|
],
|
||||||
'debug' => false,
|
'compressionLevel' => 0,
|
||||||
'disableNoCacheParameter' => true,
|
'debug' => true,
|
||||||
|
'lifetime' => 86400,
|
||||||
'passwordHashing' => [
|
'passwordHashing' => [
|
||||||
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
||||||
'options' => [],
|
'options' => [],
|
||||||
],
|
],
|
||||||
|
'permalogin' => '1',
|
||||||
],
|
],
|
||||||
'GFX' => [
|
'GFX' => [
|
||||||
'processor' => 'GraphicsMagick',
|
'gdlib_png' => 1,
|
||||||
|
'jpg_quality' => '86',
|
||||||
|
'processor' => 'ImageMagick',
|
||||||
'processor_allowTemporaryMasksAsPng' => false,
|
'processor_allowTemporaryMasksAsPng' => false,
|
||||||
'processor_colorspace' => 'RGB',
|
'processor_colorspace' => 'sRGB',
|
||||||
'processor_effects' => false,
|
'processor_effects' => true,
|
||||||
'processor_enabled' => true,
|
'processor_enabled' => true,
|
||||||
'processor_path' => '/usr/bin/',
|
'processor_path' => '/usr/bin/',
|
||||||
],
|
],
|
||||||
|
'INSTALL' => [],
|
||||||
'LOG' => [
|
'LOG' => [
|
||||||
'TYPO3' => [
|
'TYPO3' => [
|
||||||
'CMS' => [
|
'CMS' => [
|
||||||
@ -57,7 +136,7 @@ return [
|
|||||||
'writerConfiguration' => [
|
'writerConfiguration' => [
|
||||||
'notice' => [
|
'notice' => [
|
||||||
'TYPO3\CMS\Core\Log\Writer\FileWriter' => [
|
'TYPO3\CMS\Core\Log\Writer\FileWriter' => [
|
||||||
'disabled' => true,
|
'disabled' => false,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
@ -67,16 +146,45 @@ return [
|
|||||||
],
|
],
|
||||||
'MAIL' => [
|
'MAIL' => [
|
||||||
'transport' => 'sendmail',
|
'transport' => 'sendmail',
|
||||||
'transport_sendmail_command' => '/usr/local/bin/mailpit sendmail -t --smtp-addr 127.0.0.1:1025',
|
'transport_sendmail_command' => '/usr/sbin/sendmail -t -i ',
|
||||||
'transport_smtp_encrypt' => '',
|
'transport_smtp_encrypt' => '',
|
||||||
'transport_smtp_password' => '',
|
'transport_smtp_password' => '',
|
||||||
'transport_smtp_server' => '',
|
'transport_smtp_server' => '',
|
||||||
'transport_smtp_username' => '',
|
'transport_smtp_username' => '',
|
||||||
],
|
],
|
||||||
'SYS' => [
|
'SYS' => [
|
||||||
'UTF8filesystem' => true,
|
'UTF8filesystem' => '1',
|
||||||
|
'availablePasswordHashAlgorithms' => [
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BcryptPasswordHash',
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Pbkdf2PasswordHash',
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PhpassPasswordHash',
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BlowfishPasswordHash',
|
||||||
|
'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Md5PasswordHash',
|
||||||
|
],
|
||||||
|
'belogErrorReporting' => '14327',
|
||||||
'caching' => [
|
'caching' => [
|
||||||
'cacheConfigurations' => [
|
'cacheConfigurations' => [
|
||||||
|
'autoloader' => [
|
||||||
|
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\SimpleFileBackend',
|
||||||
|
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\PhpFrontend',
|
||||||
|
'groups' => [
|
||||||
|
'system',
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
'defaultLifetime' => 0,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'extbase_object' => [
|
||||||
|
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
||||||
|
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
|
||||||
|
'groups' => [
|
||||||
|
'system',
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
'defaultLifetime' => 0,
|
||||||
|
],
|
||||||
|
],
|
||||||
'hash' => [
|
'hash' => [
|
||||||
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
|
||||||
],
|
],
|
||||||
@ -100,15 +208,26 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'devIPmask' => '',
|
'devIPmask' => '*',
|
||||||
'displayErrors' => 0,
|
'displayErrors' => 1,
|
||||||
'encryptionKey' => '6cf855298173a4613f8faad46a1fbbfa4679213d7e8bd4b3769deb8380a620cb2f9db26a8b9f2e7d9fd96e753973a094',
|
'encryptionKey' => '238478ref8fdfcdousvsf76232324rcecniuw6wsrwt122177348228997c65d5555dfcfdfvcvnbwbdbbwediweuwisaidt6tfe',
|
||||||
'exceptionalErrors' => 4096,
|
'errorHandlerErrors' => '30466',
|
||||||
|
'exceptionalErrors' => 12290,
|
||||||
'features' => [
|
'features' => [
|
||||||
'security.backend.enforceContentSecurityPolicy' => true,
|
'felogin.extbase' => true,
|
||||||
|
'fluidBasedPageModule' => true,
|
||||||
|
'rearrangedRedirectMiddlewares' => true,
|
||||||
|
'redirects.hitCount' => false,
|
||||||
|
'security.frontend.keepSessionDataOnLogout' => false,
|
||||||
'security.usePasswordPolicyForFrontendUsers' => true,
|
'security.usePasswordPolicyForFrontendUsers' => true,
|
||||||
|
'subrequestPageErrors' => true,
|
||||||
|
'unifiedPageTranslationHandling' => true,
|
||||||
],
|
],
|
||||||
'sitename' => 'PROJEKT',
|
'fileCreateMask' => '0644',
|
||||||
|
'folderCreateMask' => '0755',
|
||||||
|
'phpTimeZone' => 'Europe/Berlin',
|
||||||
|
'sitename' => 'T3Bootstrap 12 Demo',
|
||||||
|
'systemLocale' => 'de_DE',
|
||||||
'systemMaintainers' => [
|
'systemMaintainers' => [
|
||||||
1,
|
1,
|
||||||
],
|
],
|
||||||
|
413
public/.htaccess
Normal file
413
public/.htaccess
Normal file
@ -0,0 +1,413 @@
|
|||||||
|
#####
|
||||||
|
#
|
||||||
|
# Example .htaccess file for TYPO3 CMS - for use with Apache Webserver
|
||||||
|
#
|
||||||
|
# This file includes settings for the following configuration options:
|
||||||
|
#
|
||||||
|
# - Compression
|
||||||
|
# - Caching
|
||||||
|
# - MIME types
|
||||||
|
# - Cross Origin requests
|
||||||
|
# - Rewriting and Access
|
||||||
|
# - Miscellaneous
|
||||||
|
# - PHP optimisation
|
||||||
|
#
|
||||||
|
# If you want to use it, you have to copy it to the root folder of your TYPO3 installation (if its
|
||||||
|
# not there already) and rename it to '.htaccess'. To make .htaccess files work, you might need to
|
||||||
|
# adjust the 'AllowOverride' directive in your Apache configuration file.
|
||||||
|
#
|
||||||
|
# IMPORTANT: You may need to change this file depending on your TYPO3 installation!
|
||||||
|
# Consider adding this file's content to your webserver's configuration directly for speed improvement
|
||||||
|
#
|
||||||
|
# Lots of the options are taken from https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess
|
||||||
|
#
|
||||||
|
####
|
||||||
|
|
||||||
|
<FilesMatch "\.(?i:gif|jpeg|jpg|png|ico|svgz|svg|webp)$">
|
||||||
|
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
Header set Cache-Control "max-age=31536000"
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteCond %{HTTP_ACCEPT} image/webp
|
||||||
|
RewriteCond %{DOCUMENT_ROOT}/$1.$3.webp -f
|
||||||
|
RewriteRule ^((fileadmin|other-storage)/.+)\.(png|jpg|jpeg)$ $1.$3.webp [L]
|
||||||
|
</IfModule>
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
Header append Vary Accept env=REDIRECT_accept
|
||||||
|
</IfModule>
|
||||||
|
AddType image/webp .webp
|
||||||
|
|
||||||
|
### Begin: Compression ###
|
||||||
|
|
||||||
|
# Compressing resource files will save bandwidth and so improve loading speed especially for users
|
||||||
|
# with slower internet connections. TYPO3 can compress the .js and .css files for you.
|
||||||
|
# *) Uncomment the following lines and
|
||||||
|
# *) Set $GLOBALS['TYPO3_CONF_VARS']['BE']['compressionLevel'] = 9 for the Backend
|
||||||
|
# *) Set $GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 9 together with the TypoScript properties
|
||||||
|
# config.compressJs and config.compressCss for GZIP compression of Frontend JS and CSS files.
|
||||||
|
|
||||||
|
<FilesMatch "\.js\.gz">
|
||||||
|
AddType "text/javascript" .gz
|
||||||
|
</FilesMatch>
|
||||||
|
<FilesMatch "\.css\.gz">
|
||||||
|
AddType "text/css" .gz
|
||||||
|
</FilesMatch>
|
||||||
|
AddEncoding x-gzip .gz
|
||||||
|
|
||||||
|
<IfModule mod_deflate.c>
|
||||||
|
# Force compression for mangled `Accept-Encoding` request headers
|
||||||
|
<IfModule mod_setenvif.c>
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
|
||||||
|
RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
|
||||||
|
</IfModule>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# Compress all output labeled with one of the following media types.
|
||||||
|
#
|
||||||
|
# (!) For Apache versions below version 2.3.7 you don't need to
|
||||||
|
# enable `mod_filter` and can remove the `<IfModule mod_filter.c>`
|
||||||
|
# and `</IfModule>` lines as `AddOutputFilterByType` is still in
|
||||||
|
# the core directives.
|
||||||
|
#
|
||||||
|
# https://httpd.apache.org/docs/current/mod/mod_filter.html#addoutputfilterbytype
|
||||||
|
|
||||||
|
<IfModule mod_filter.c>
|
||||||
|
AddOutputFilterByType DEFLATE application/atom+xml \
|
||||||
|
application/javascript \
|
||||||
|
application/json \
|
||||||
|
application/ld+json \
|
||||||
|
application/manifest+json \
|
||||||
|
application/rdf+xml \
|
||||||
|
application/rss+xml \
|
||||||
|
application/schema+json \
|
||||||
|
application/vnd.geo+json \
|
||||||
|
application/geo+json \
|
||||||
|
application/vnd.ms-fontobject \
|
||||||
|
application/x-font-ttf \
|
||||||
|
application/x-javascript \
|
||||||
|
application/x-web-app-manifest+json \
|
||||||
|
application/xhtml+xml \
|
||||||
|
application/xml \
|
||||||
|
font/eot \
|
||||||
|
font/opentype \
|
||||||
|
font/otf \
|
||||||
|
font/ttf \
|
||||||
|
image/bmp \
|
||||||
|
image/svg+xml \
|
||||||
|
image/vnd.microsoft.icon \
|
||||||
|
image/x-icon \
|
||||||
|
text/cache-manifest \
|
||||||
|
text/css \
|
||||||
|
text/html \
|
||||||
|
text/javascript \
|
||||||
|
text/plain \
|
||||||
|
text/vcard \
|
||||||
|
text/vnd.rim.location.xloc \
|
||||||
|
text/vtt \
|
||||||
|
text/x-component \
|
||||||
|
text/x-cross-domain-policy \
|
||||||
|
text/xml
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule mod_mime.c>
|
||||||
|
AddEncoding gzip svgz
|
||||||
|
</IfModule>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
### End: Compression ###
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Begin: Browser caching of resource files ###
|
||||||
|
|
||||||
|
# This affects Frontend and Backend and increases performance.
|
||||||
|
<IfModule mod_expires.c>
|
||||||
|
|
||||||
|
ExpiresActive On
|
||||||
|
ExpiresDefault "access plus 1 month"
|
||||||
|
|
||||||
|
ExpiresByType text/css "access plus 1 year"
|
||||||
|
|
||||||
|
ExpiresByType application/json "access plus 0 seconds"
|
||||||
|
ExpiresByType application/ld+json "access plus 0 seconds"
|
||||||
|
ExpiresByType application/schema+json "access plus 0 seconds"
|
||||||
|
ExpiresByType application/vnd.geo+json "access plus 0 seconds"
|
||||||
|
ExpiresByType application/geo+json "access plus 0 seconds"
|
||||||
|
ExpiresByType application/xml "access plus 0 seconds"
|
||||||
|
ExpiresByType text/xml "access plus 0 seconds"
|
||||||
|
|
||||||
|
ExpiresByType image/vnd.microsoft.icon "access plus 1 week"
|
||||||
|
ExpiresByType image/x-icon "access plus 1 week"
|
||||||
|
|
||||||
|
ExpiresByType text/x-component "access plus 1 month"
|
||||||
|
|
||||||
|
ExpiresByType text/html "access plus 0 seconds"
|
||||||
|
|
||||||
|
ExpiresByType application/javascript "access plus 1 year"
|
||||||
|
ExpiresByType application/x-javascript "access plus 1 year"
|
||||||
|
ExpiresByType text/javascript "access plus 1 year"
|
||||||
|
|
||||||
|
ExpiresByType application/manifest+json "access plus 1 week"
|
||||||
|
ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
|
||||||
|
ExpiresByType text/cache-manifest "access plus 0 seconds"
|
||||||
|
|
||||||
|
ExpiresByType audio/ogg "access plus 1 month"
|
||||||
|
ExpiresByType image/apng "access plus 1 month"
|
||||||
|
ExpiresByType image/avif "access plus 1 month"
|
||||||
|
ExpiresByType image/avif-sequence "access plus 1 month"
|
||||||
|
ExpiresByType image/bmp "access plus 1 month"
|
||||||
|
ExpiresByType image/gif "access plus 1 month"
|
||||||
|
ExpiresByType image/jpeg "access plus 1 month"
|
||||||
|
ExpiresByType image/jxl "access plus 1 month"
|
||||||
|
ExpiresByType image/png "access plus 1 month"
|
||||||
|
ExpiresByType image/svg+xml "access plus 1 month"
|
||||||
|
ExpiresByType image/webp "access plus 1 month"
|
||||||
|
ExpiresByType video/mp4 "access plus 1 month"
|
||||||
|
ExpiresByType video/ogg "access plus 1 month"
|
||||||
|
ExpiresByType video/webm "access plus 1 month"
|
||||||
|
|
||||||
|
ExpiresByType application/atom+xml "access plus 1 hour"
|
||||||
|
ExpiresByType application/rdf+xml "access plus 1 hour"
|
||||||
|
ExpiresByType application/rss+xml "access plus 1 hour"
|
||||||
|
|
||||||
|
ExpiresByType font/collection "access plus 1 month"
|
||||||
|
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
|
||||||
|
ExpiresByType font/eot "access plus 1 month"
|
||||||
|
ExpiresByType font/opentype "access plus 1 month"
|
||||||
|
ExpiresByType font/otf "access plus 1 month"
|
||||||
|
ExpiresByType application/x-font-ttf "access plus 1 month"
|
||||||
|
ExpiresByType font/ttf "access plus 1 month"
|
||||||
|
ExpiresByType application/font-woff "access plus 1 month"
|
||||||
|
ExpiresByType application/x-font-woff "access plus 1 month"
|
||||||
|
ExpiresByType font/woff "access plus 1 month"
|
||||||
|
ExpiresByType application/font-woff2 "access plus 1 month"
|
||||||
|
ExpiresByType font/woff2 "access plus 1 month"
|
||||||
|
|
||||||
|
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
|
||||||
|
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
### End: Browser caching of resource files ###
|
||||||
|
|
||||||
|
|
||||||
|
### Begin: MIME types ###
|
||||||
|
|
||||||
|
# Proper MIME types for all files
|
||||||
|
<IfModule mod_mime.c>
|
||||||
|
# Security configuration
|
||||||
|
RemoveType .html .htm
|
||||||
|
<FilesMatch ".+\.html?$">
|
||||||
|
AddType text/html .html .htm
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
RemoveType .svg .svgz
|
||||||
|
<FilesMatch ".+\.svgz?$">
|
||||||
|
AddType image/svg+xml .svg .svgz
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
# Data interchange
|
||||||
|
AddType application/atom+xml atom
|
||||||
|
AddType application/json json map topojson
|
||||||
|
AddType application/ld+json jsonld
|
||||||
|
AddType application/rss+xml rss
|
||||||
|
AddType application/vnd.geo+json geojson
|
||||||
|
AddType application/xml rdf xml
|
||||||
|
|
||||||
|
# JavaScript
|
||||||
|
AddType application/javascript js
|
||||||
|
|
||||||
|
# Manifest files
|
||||||
|
AddType application/manifest+json webmanifest
|
||||||
|
AddType application/x-web-app-manifest+json webapp
|
||||||
|
AddType text/cache-manifest appcache
|
||||||
|
|
||||||
|
# Media files
|
||||||
|
|
||||||
|
AddType audio/mp4 f4a f4b m4a
|
||||||
|
AddType audio/ogg oga ogg opus
|
||||||
|
AddType image/avif avif
|
||||||
|
AddType image/avif-sequence avifs
|
||||||
|
AddType image/bmp bmp
|
||||||
|
AddType image/jxl jxl
|
||||||
|
AddType image/webp webp
|
||||||
|
AddType video/mp4 f4v f4p m4v mp4
|
||||||
|
AddType video/ogg ogv
|
||||||
|
AddType video/webm webm
|
||||||
|
AddType video/x-flv flv
|
||||||
|
AddType image/x-icon cur ico
|
||||||
|
|
||||||
|
# Web fonts
|
||||||
|
AddType font/woff woff
|
||||||
|
AddType font/woff2 woff2
|
||||||
|
AddType application/vnd.ms-fontobject eot
|
||||||
|
AddType font/ttf ttc ttf
|
||||||
|
AddType font/otf otf
|
||||||
|
|
||||||
|
# Other
|
||||||
|
AddType application/octet-stream safariextz
|
||||||
|
AddType application/x-bb-appworld bbaw
|
||||||
|
AddType application/x-chrome-extension crx
|
||||||
|
AddType application/x-opera-extension oex
|
||||||
|
AddType application/x-xpinstall xpi
|
||||||
|
AddType text/vcard vcard vcf
|
||||||
|
AddType text/vnd.rim.location.xloc xloc
|
||||||
|
AddType text/vtt vtt
|
||||||
|
AddType text/x-component htc
|
||||||
|
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# UTF-8 encoding
|
||||||
|
AddDefaultCharset utf-8
|
||||||
|
<IfModule mod_mime.c>
|
||||||
|
AddCharset utf-8 .atom .css .js .json .manifest .rdf .rss .vtt .webapp .webmanifest .xml
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
### End: MIME types ###
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Begin: Cross Origin ###
|
||||||
|
|
||||||
|
# Send the CORS header for images when browsers request it.
|
||||||
|
<IfModule mod_setenvif.c>
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
<FilesMatch "\.(avifs?|bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$">
|
||||||
|
SetEnvIf Origin ":" IS_CORS
|
||||||
|
Header set Access-Control-Allow-Origin "*" env=IS_CORS
|
||||||
|
</FilesMatch>
|
||||||
|
</IfModule>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# Allow cross-origin access to web fonts.
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
<FilesMatch "\.(eot|otf|tt[cf]|woff2?)$">
|
||||||
|
Header set Access-Control-Allow-Origin "*"
|
||||||
|
</FilesMatch>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
### End: Cross Origin ###
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Begin: Rewriting and Access ###
|
||||||
|
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
|
||||||
|
# Enable URL rewriting
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Store the current location in an environment variable CWD to use
|
||||||
|
# mod_rewrite in .htaccess files without knowing the RewriteBase
|
||||||
|
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
|
||||||
|
RewriteRule ^.*$ - [E=CWD:%2]
|
||||||
|
|
||||||
|
# Rules to set ApplicationContext based on hostname
|
||||||
|
#RewriteCond %{HTTP_HOST} ^dev\.example\.com$
|
||||||
|
#RewriteRule .? - [E=TYPO3_CONTEXT:Development]
|
||||||
|
#RewriteCond %{HTTP_HOST} ^staging\.example\.com$
|
||||||
|
#RewriteRule .? - [E=TYPO3_CONTEXT:Production/Staging]
|
||||||
|
#RewriteCond %{HTTP_HOST} ^www\.example\.com$
|
||||||
|
#RewriteRule .? - [E=TYPO3_CONTEXT:Production]
|
||||||
|
|
||||||
|
# Rule for versioned static files, configured through:
|
||||||
|
# - $GLOBALS['TYPO3_CONF_VARS']['BE']['versionNumberInFilename']
|
||||||
|
# - $GLOBALS['TYPO3_CONF_VARS']['FE']['versionNumberInFilename']
|
||||||
|
# IMPORTANT: This rule has to be the very first RewriteCond in order to work!
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gz)$ %{ENV:CWD}$1.$3 [L]
|
||||||
|
|
||||||
|
# Access block for folders
|
||||||
|
RewriteRule _(?:recycler|temp)_/ - [F]
|
||||||
|
RewriteRule fileadmin/templates/.*\.(?:txt|ts)$ - [F]
|
||||||
|
RewriteRule ^(?:vendor|typo3_src|typo3temp/var) - [F]
|
||||||
|
RewriteRule (?:typo3conf/ext|typo3/sysext|typo3/ext)/[^/]+/(?:Configuration|Resources/Private|Tests?|Documentation|docs?)/ - [F]
|
||||||
|
|
||||||
|
# Block access to all hidden files and directories with the exception of
|
||||||
|
# the visible content from within the `/.well-known/` hidden directory (RFC 5785).
|
||||||
|
RewriteCond %{REQUEST_URI} "!(^|/)\.well-known/([^./]+./?)+$" [NC]
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} -d [OR]
|
||||||
|
RewriteCond %{SCRIPT_FILENAME} -f
|
||||||
|
RewriteRule (?:^|/)\. - [F]
|
||||||
|
|
||||||
|
# Stop rewrite processing, if we are in any other known directory
|
||||||
|
# NOTE: Add your additional local storages here
|
||||||
|
RewriteRule ^(?:fileadmin/|typo3conf/|typo3temp/|uploads/) - [L]
|
||||||
|
|
||||||
|
# If the file/symlink/directory does not exist but is below /typo3/, redirect to the TYPO3 Backend entry point.
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
|
RewriteRule ^typo3/(.*)$ %{ENV:CWD}typo3/index.php [QSA,L]
|
||||||
|
|
||||||
|
# If the file/symlink/directory does not exist => Redirect to index.php.
|
||||||
|
# For httpd.conf, you need to prefix each '%{REQUEST_FILENAME}' with '%{DOCUMENT_ROOT}'.
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-l
|
||||||
|
RewriteRule ^.*$ %{ENV:CWD}index.php [QSA,L]
|
||||||
|
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# Access block for files
|
||||||
|
# Apache < 2.3
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
<FilesMatch "(?i:^\.|^#.*#|^(?:ChangeLog|ToDo|Readme|License)(?:\.md|\.txt)?|^composer\.(?:json|lock)|^ext_conf_template\.txt|^ext_typoscript_constants\.txt|^ext_typoscript_setup\.txt|flexform[^.]*\.xml|locallang[^.]*\.(?:xml|xlf)|\.(?:bak|co?nf|cfg|ya?ml|ts|typoscript|tsconfig|dist|fla|in[ci]|log|sh|sql(?:\..*)?|sqlite(?:\..*)?|sw[op]|git.*|rc)|.*~)$">
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
Satisfy All
|
||||||
|
</FilesMatch>
|
||||||
|
</IfModule>
|
||||||
|
# Apache ≥ 2.3
|
||||||
|
<IfModule mod_authz_core.c>
|
||||||
|
<If "%{REQUEST_URI} =~ m#(?i:/\.|/\x23.*\x23|/(?:ChangeLog|ToDo|Readme|License)(?:\.md|\.txt)?|/composer\.(?:json|lock)|/ext_conf_template\.txt|/ext_typoscript_constants\.txt|/ext_typoscript_setup\.txt|flexform[^.]*\.xml|locallang[^.]*\.(?:xml|xlf)|\.(?:bak|co?nf|cfg|ya?ml|ts|typoscript|tsconfig|dist|fla|in[ci]|log|sh|sql(?:\..*)?|sqlite(?:\..*)?|sw[op]|git.*|rc)|.*~)$#">
|
||||||
|
Require all denied
|
||||||
|
</If>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# Block access to vcs directories
|
||||||
|
<IfModule mod_alias.c>
|
||||||
|
RedirectMatch 404 /\.(?:git|svn|hg)/
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
### End: Rewriting and Access ###
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Begin: Miscellaneous ###
|
||||||
|
|
||||||
|
# 404 error prevention for non-existing redirected folders
|
||||||
|
Options -MultiViews
|
||||||
|
|
||||||
|
# Make sure that directory listings are disabled.
|
||||||
|
<IfModule mod_autoindex.c>
|
||||||
|
Options -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
# Force IE to render pages in the highest available mode
|
||||||
|
Header set X-UA-Compatible "IE=edge"
|
||||||
|
<FilesMatch "\.(appcache|avifs?|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff2?|xml|xpi)$">
|
||||||
|
Header unset X-UA-Compatible
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
# Reducing MIME type security risks
|
||||||
|
Header set X-Content-Type-Options "nosniff"
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# ETag removal
|
||||||
|
<IfModule mod_headers.c>
|
||||||
|
Header unset ETag
|
||||||
|
</IfModule>
|
||||||
|
FileETag None
|
||||||
|
|
||||||
|
### End: Miscellaneous ###
|
||||||
|
|
||||||
|
|
||||||
|
# Add your own rules here.
|
Loading…
x
Reference in New Issue
Block a user