-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy path.htaccess
35 lines (30 loc) · 1.45 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
ErrorDocument 404 /404.html
RedirectPermanent /devel.html http://curl.haxx.se/dev/
RedirectPermanent /auto/ http://curl.haxx.se/dev/
RedirectPermanent /docs/internals.html http://curl.haxx.se/dev/internals.html
RedirectPermanent /docs/contribute.html http://curl.haxx.se/dev/contribute.html
RedirectPermanent /docs/runtests.html http://curl.haxx.se/dev/runtests.html
RedirectPermanent /docs/testcurl.html http://curl.haxx.se/dev/testcurl.html
RedirectPermanent /source.html http://curl.haxx.se/dev/source.html
RedirectPermanent /bugreport.html http://curl.haxx.se/docs/bugs.html
RedirectPermanent /cvs.cgi http://curl.haxx.se/dev/source.html
RedirectPermanent /cvs.html http://curl.haxx.se/dev/source.html
RedirectPermanent /dev/readme-http2.html http://curl.haxx.se/docs/http2.html
RedirectPermanent /mirrors.html http://curl.haxx.se/mirror/
RedirectPermanent /libcurl/c/libcurl-thread.html http://curl.haxx.se/libcurl/c/threadsafe.html
RedirectMatch "^/.git" http://curl.haxx.se/dev/source.html
RemoveHandler .php
RemoveHandler .pl
#AddType text/plain .pl
AddType text/plain .php
AddType application/octet-stream .rpm
AddType application/x-bzip2 .bz2
AddType application/x-tar .tar
php_flag engine off
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Header always append X-Frame-Options SAMEORIGIN
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://curl.haxx.se%{REQUEST_URI} [R=301,L]
</IfModule>