2023-09-17 13:24:39 +02:00
|
|
|
AddType application/javascript .mjs
|
|
|
|
|
2023-12-06 18:57:25 +01:00
|
|
|
#DirectoryIndex spa.html
|
2023-12-06 21:11:49 +01:00
|
|
|
# notwendig, da sonst über normale url spa.html aufgerufen wird, muss nur datei name sei, der nicht existiert
|
2023-12-06 18:57:25 +01:00
|
|
|
DirectoryIndex noindex
|
2023-09-17 13:24:39 +02:00
|
|
|
|
|
|
|
<ifModule mod_rewrite.c>
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteBase /
|
|
|
|
|
2023-09-18 19:31:11 +02:00
|
|
|
RewriteRule ^/?api/(.*)$ http://tibi-server:8080/api/v1/_/allkids_erfurt/$1 [P,QSA,L]
|
2023-09-17 13:24:39 +02:00
|
|
|
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
2023-12-06 21:11:49 +01:00
|
|
|
# leitet initale request an backend und nicht an spa.html weiter
|
2023-12-06 18:57:25 +01:00
|
|
|
RewriteRule ^/?(.*)$ http://tibi-server:8080/api/v1/_/allkids_erfurt/ssr?token=owshwerNwoa&url=/$1 [P,QSA,L]
|
2023-12-06 21:11:49 +01:00
|
|
|
# standardmäßig wegen deeplink aus google notwendig, da sonst 404
|
2023-12-06 18:57:25 +01:00
|
|
|
#RewriteRule (.*) /spa.html [QSA,L]
|
2023-09-17 13:24:39 +02:00
|
|
|
</ifModule>
|