add: webseite mit jwt
This commit is contained in:
13
webseite-react-php-jwt/slim-php/.htaccess
Normal file
13
webseite-react-php-jwt/slim-php/.htaccess
Normal file
@@ -0,0 +1,13 @@
|
||||
# Projekt-Root: Anfragen nach public/ durchreichen (auch in Unterverzeichnissen wie /api).
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
DirectoryIndex index.php
|
||||
|
||||
RewriteRule ^(\.env|composer\.(json|lock)|src/|vendor/|sql/) - [F,L,NC]
|
||||
|
||||
RewriteRule ^public(?:/|$) - [L]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ public/$1 [L]
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user