wm-AllKids-tibi2023/frontend/.htaccess
Grit-Grenzdoerfer 5f27fe0c5b Initial commit
2023-09-17 13:24:39 +02:00

17 lines
491 B
ApacheConf

AddType application/javascript .mjs
DirectoryIndex spa.html
#DirectoryIndex noindex
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^/?api/(.*)$ http://tibi-server:8080/api/v1/_/wasserski_erfurt/$1 [P,QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^/?(.*)$ http://tibi-server:8080/api/v1/_/wasserski_erfurt/ssr?token=owshwerNwoa&url=/$1 [P,QSA,L]
RewriteRule (.*) /spa.html [QSA,L]
</ifModule>