Skip to content
Snippets Groups Projects
Commit 2274acef authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX .htaccess for rest/

parent efd456e7
No related branches found
No related tags found
No related merge requests found
Options -Indexes
Options FollowSymLinks Includes ExecCGI
<FilesMatch ".*">
Order deny,allow
Deny from all
</FilesMatch>
# Root to allow index.php
<FilesMatch "^$">
Order allow,deny
Allow from all
</FilesMatch>
# Core root
<FilesMatch "^(index|ws_server|static|merged_js|merged_css|reopen|applet_launcher|applet_controller|log)\.php$">
Order allow,deny
Allow from all
</FilesMatch>
# App static files
<FilesMatch "\.(css|js|jpg|png|gif|ttf|woff|woff2)$">
Order allow,deny
Allow from all
</FilesMatch>
# App tools files
<FilesMatch "\.(htm|html|jar|jnlp)$">
Order allow,deny
Allow from all
</FilesMatch>
Order allow,deny <FilesMatch ".*">
Allow from all Order allow,deny
Allow from all
</FilesMatch>
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment