-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.htaccess
63 lines (60 loc) · 2.51 KB
/
.htaccess
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^login?$ auth/redirect.php [L]
RewriteRule ^logout?$ auth/clearsessions.php [L]
RewriteRule ^atskats?$ index.php?id=atskats [L]
RewriteRule ^vardi?$ index.php?id=vardi [L]
RewriteRule ^emoji?$ index.php?id=emoji [L]
RewriteRule ^par?$ index.php?id=par [L]
RewriteRule ^draugi?$ index.php?id=draugi [L]
RewriteRule ^kalendars?$ index.php?id=dienas [L]
RewriteRule ^karte?$ index.php?id=karte [L]
RewriteRule ^tops?$ index.php?id=tops [L]
RewriteRule ^koest?$ index.php?id=koest [L]
RewriteRule ^statistika?$ index.php?id=stat [L]
RewriteRule ^viss?$ index.php?id=alltime [L]
RewriteRule ^smaidi?$ index.php?id=emo [L]
RewriteRule ^draugs/([^/\.]+)/?$ index.php?id=draugs&dra=$1 [L]
RewriteRule ^vards/([^/\.]+)/?$ index.php?id=vards&vards=$1 [L]
RewriteRule ^atslegvards/([^/\.]+)/?$ index.php?id=vards&atslegvards=$1 [L]
RewriteRule ^vieta/([^/\.]+)/?$ index.php?id=vards&vieta=$1 [L]
RewriteRule ^grupa/([^/\.]+)/?$ index.php?id=vards&grupa=$1 [L]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
ExpiresActive On
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
<Files 403.shtml>
order allow,deny
allow from all
</Files>
# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php5_module>
php_flag asp_tags Off
php_flag display_errors On
php_value max_execution_time 900
php_value max_input_time 900
php_value max_input_vars 10000
php_value memory_limit 512M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php56"
php_value upload_max_filesize 40M
</IfModule>
# END cPanel-generated php ini directives, do not edit
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^www\.twitediens\.tk$
RewriteRule ^/?$ "https\:\/\/twitediens\.tk\/" [R=301,L]