forked from testfairy/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
98 lines (71 loc) · 5.02 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# add header to prevent ssl-stripping
Header set Strict-Transport-Security "max-age=31536000; includeSubdomains" env=HTTPS
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|PUT|OPTIONS|DELETE|POST)
RewriteRule .*$ - [R=405,L]
AddType application/x-font-woff woff
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css
AddOutputFilterByType DEFLATE application/javascript application/x-javascript application/json application/x-font-woff
AddOutputFilterByType DEFLATE image/svg+xml
ExpiresActive on
ExpiresByType image/gif "access plus 2 months"
ExpiresByType image/png "access plus 2 months"
ExpiresByType image/jpeg "access plus 2 months"
ExpiresByType image/svg+xml "access plus 2 months"
ExpiresByType text/css "access plus 2 month"
ExpiresByType text/javascript "access plus 2 month"
ExpiresByType application/javascript "access plus 2 month"
ExpiresByType application/x-font-woff "access plus 2 month"
RewriteRule ^wp-login.php https://wordpress.com [R=302,L]
RewriteRule ^ios_sdk/integrating_with_cordova.html /Platforms/Cordova.html [R=301,L]
RewriteRule ^iOS_SDK/Integrating_with_Cordova.html /Platforms/Cordova.html [R=301,L]
RewriteRule ^platforms/cordova.html /Platforms/Cordova.html [R=301,L]
RewriteRule ^ios_sdk/integrating_with_react_native.html /Platforms/React_Native.html [R=301,L]
RewriteRule ^iOS_SDK/Using_Xamarin_Component.html /Platforms/Xamarin.html [R=301,L]
RewriteRule ^ios_sdk/adding_udids_to_ios_development_profile.html /iOS_SDK/Adding_UDIDs_to_iOS_development_profile.html [R=301,L]
RewriteRule ^ios_sdk/integrating_ios_sdk.html /iOS_SDK/Integrating_iOS_SDK.html [R=301,L]
RewriteRule ^iOS_SDK/setup /iOS_SDK/Integrating_iOS_SDK.html [R=301,L]
RewriteRule ^04_iOS_SDK/About_dSYMs.html /iOS_SDK/How_To_Upload_dSYM.html [R=301,L]
RewriteRule ^ios_sdk/exporting_ad_hoc_ipa.html /iOS_SDK/Exporting_Ad_Hoc_IPA.html [R=301,L]
RewriteRule ^ios_sdk/identifying_your_users.html /iOS_SDK/Identifying_Your_Users.html [R=301,L]
RewriteRule ^Android/Identifying_Your_Users.html /Android/Identifying_your_users.html [R=301,L]
RewriteRule ^ANDROID_SDK/Changelog.html /Android/Changelog.html [R=301,L]
RewriteRule ^Integrations/Cordova.html /Platforms/Cordova.html [R=301,L]
RewriteRule ^Integrations/React_Native.html /Platforms/React_Native.html [R=301,L]
RewriteRule ^Integrations/Xamarin.html /Platforms/Xamarin.html [R=301,L]
RewriteRule ^Integrations/Adobe_Air.html /Platforms/Adobe_Air.html [R=301,L]
RewriteRule ^Integrations/Unity.html /Platforms/Unity.html [R=301,L]
RewriteRule ^Integrations/Travis_CI.html /Continuous_Integration/Travis_CI.html [R=301,L]
RewriteRule ^Integrations/Bamboo.html /Continuous_Integration/Bamboo.html [R=301,L]
RewriteRule ^Integrations/Titanium.html /Platforms/Titanium.html [R=301,L]
RewriteRule ^Android/Checkpoints.html /Android/Events.html [R=301,L]
RewriteRule ^Integrations/Slack.html /Slack_and_HipChat/Slack.html [R=301,L]
RewriteRule ^integrations/slack.html /Slack_and_HipChat/Slack.html [R=301,L]
RewriteRule ^Integrations/HipChat.html /Slack_and_HipChat/HipChat.html [R=301,L]
RewriteRule ^Integrations/TestFairy_Connect.html /Bug_Tracking/TestFairy_Connect.html [R=301,L]
RewriteRule ^integrations/bitbucket_pipelines.htm /Continuous_Integration/Bitbucket_Pipelines.html [R=301,L]
RewriteRule ^Integrations/Bitbucket_Pipelines.html /Continuous_Integration/Bitbucket_Pipelines.html [R=301,L]
RewriteRule ^ios_sdk/using_xamarin_component.html /Platforms/Xamarin_Component.html [R=301,L]
RewriteRule ^android/integrating_android_sdk.html /Android/Integrating_Android_SDK.html [R=301,L]
RewriteRule ^api/webhooks.html /API/Webhooks.html [R=301,L]
RewriteRule ^Segmentation.html /API/Rest_API.html [R=301,L]
RewriteRule ^Upload_API.html$ /API/Upload_API.html [R=301,L]
RewriteRule ^upload_api.html /API/Upload_API.html [R=301,L]
RewriteRule ^Upload_API.html. /API/Upload_API.html [R=301,L]
RewriteRule ^getting_started/how_to_invite_testers.html /Getting_Started/How_To_Invite_Testers.html [R=301,L]
RewriteRule ^Rest_API.html /API/Rest_API.html [R=301,L]
RewriteRule ^integrations/okta.html /Single_Sign-On/OKTA.html [R=301,L]
RewriteRule ^Integrations/OKTA.html /Single_Sign-On/OKTA.html [R=301,L]
RewriteRule ^integrations/onelogin.html /Single_Sign-On/OneLogin.html [R=301,L]
RewriteRule ^Integrations/Onelogin.html /Single_Sign-On/OneLogin.html [R=301,L]
RewriteRule ^Integrations/Ping_Identity.html /Single_Sign-On/Ping_Identity.html [R=301,L]
RewriteRule ^Integrations/JIRA.html /Bug_Tracking/JIRA_Cloud.html [R=301,L]
RewriteRule ^/Android/Private_Cloud_Integration.html /SDK/Private_Cloud_Integration.html [R=301,L]
RewriteRule ^/iOS_SDK/Private_Cloud_Integration.html /SDK/Private_Cloud_Integration.html [R=301,L]
RewriteRule ^TestFairy_SDK/Private_Cloud_Integration.html /SDK/Private_Cloud_Integration.html [R=301,L]
RewriteRule ^TestFairy_SDK/(.*) /SDK/$1 [R=301,L]
RewriteRule ^login/ https://app.testfairy.com/login/ [R=301,L]
RewriteRule wp-includes /password.html
ErrorDocument 404 /404.php