Spaces:
Running
Running
Download public/.htaccess from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 740 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/public/.htaccess
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api/public/.htaccess
-
curl -L -o .htaccess https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/main/public/.htaccess
740 Bytes
| <IfModule mod_rewrite.c> | |
| <IfModule mod_negotiation.c> | |
| Options -MultiViews -Indexes | |
| </IfModule> | |
| RewriteEngine On | |
| # Handle Authorization Header | |
| RewriteCond %{HTTP:Authorization} . | |
| RewriteRule .* - | |
| # Handle X-XSRF-Token Header | |
| RewriteCond %{HTTP:x-xsrf-token} . | |
| RewriteRule .* - | |
| # Redirect Trailing Slashes If Not A Folder... | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_URI} (.+)/$ | |
| RewriteRule ^ %1 | |
| # Send Requests To Front Controller... | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^ index.php | |
| </IfModule> | |