blob: 1a5611341eaa47f3c01480abe64c067fd9c2f0ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
### KALLASSA project
### htaccess v0.1 200311
### Deny access to specific folders
## deny all files too
RedirectMatch 403 ^/includes/.*$
RedirectMatch 403 ^/library/.*$
## deny folders only
RedirectMatch 403 ^/config/?$
RedirectMatch 403 ^/img/?$
RedirectMatch 403 ^/css/?$
RedirectMatch 403 ^/js/?$
### Redirect to HTTPS
# RewriteEngine On
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://kallassa.roptron.gr/$1 [R,L]
### SERVER SIDE OPTIMIZATIONS
### COMPRESSION
## COMPRESS text-anything output
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
|