-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
32 lines (22 loc) · 1.05 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
Options -Indexes
RewriteEngine on
RewriteBase /
#RewriteCond %{HTTP_HOST} stats.garden-exchange.org
#RewriteRule (.*) https://stats.garden-exchange.org/%{REQUEST_URI} [R=301,L]
#RewriteCond %{HTTP_HOST} ^stats.garden-exchange.org$
#RewriteRule ^s(.*)$ https://stats.garden-exchange.org [R=301,L]
#RewriteRule ^s(.*)$ https://stats.garden-exchange.org [R,L]
#RewriteRule (.*)$ https://google.com [R,L]
RewriteCond %{HTTP_HOST} ^garden-exchange.org$
RewriteRule ^(.*)$ https://garden-exchange.org/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.garden-exchange.org$
RewriteRule ^(.*)$ https://garden-exchange.org/$1 [R=301,L]
#RewriteRule ^w(.*)$ https://garden-exchange.org/$1 [R,L]
#RewriteCond %{HTTP_HOST} ^stats.garden-exchange.org
#RewriteRule ^/?(.*) https://stats.garden-exchange.org/$1
#RewriteRule ^s(.*)$ https://stats.garden-exchange.org/ [R,L]
#RewriteCond %{REQUEST_URI} !^/public/
#RewriteRule ^(.*)$ /public/$1 [L]
#php_value session.cookie_lifetime 604800
#php_value session.gc_maxlifetime 604800
#php_value session.save_path /homez.1003/gardeny/www