-
Notifications
You must be signed in to change notification settings - Fork 145
Expand file tree
/
Copy path.htaccess
More file actions
20 lines (16 loc) · 705 Bytes
/
Copy path.htaccess
File metadata and controls
20 lines (16 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
RewriteEngine On
RewriteCond %{HTTP_HOST} !^dabblet\.com
RewriteCond %{HTTP_HOST} !^labs\.dabblet\.com
RewriteCond %{HTTP_HOST} !^result\.dabblet\.com
RewriteCond %{HTTP_HOST} !^localhost
RewriteRule ^(.*)$ https://dabblet.com/$1 [R=301,L]
RewriteBase /
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*$ /index-php.php [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.html [L]
# Compress code
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css text/javascript image/svg+xml application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript