Skip to content

Commit 9cb2763

Browse files
committed
Move src/ to h5bp/
Closes #216
1 parent 796a3e8 commit 9cb2763

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+65
-65
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
-v $TRAVIS_BUILD_DIR/test/fixtures:/usr/local/apache2/htdocs \
2929
-v $TRAVIS_BUILD_DIR/test/vhosts:/usr/local/apache2/vhosts \
3030
-v $TRAVIS_BUILD_DIR/test/certs:/usr/local/apache2/certs \
31-
-v $TRAVIS_BUILD_DIR/src:/usr/local/apache2/h5bp \
31+
-v $TRAVIS_BUILD_DIR/h5bp:/usr/local/apache2/h5bp \
3232
-v $TRAVIS_BUILD_DIR/httpd.conf:/usr/local/apache2/conf/httpd.conf \
3333
httpd
3434
script: ./test/bin/k6 run test/lib/index.js -e TESTS=basic-file-access:cache-busting:custom-errors:forbidden-files:enforce-gzip:precompressed-files-gzip:rewrites:ssl

README.md

+3-3

bin/htaccess.conf

+31-31
Original file line numberDiff line numberDiff line change
@@ -25,70 +25,70 @@
2525
# Module "cross-origin"
2626

2727
title "cross-origin"
28-
disable "src/cross-origin/requests.conf"
29-
enable "src/cross-origin/images.conf"
30-
enable "src/cross-origin/web_fonts.conf"
31-
disable "src/cross-origin/resource_timing.conf"
28+
disable "h5bp/cross-origin/requests.conf"
29+
enable "h5bp/cross-origin/images.conf"
30+
enable "h5bp/cross-origin/web_fonts.conf"
31+
disable "h5bp/cross-origin/resource_timing.conf"
3232

3333

3434

3535
# Module "errors"
3636

3737
title "errors"
38-
disable "src/errors/custom_errors.conf"
39-
enable "src/errors/error_prevention.conf"
38+
disable "h5bp/errors/custom_errors.conf"
39+
enable "h5bp/errors/error_prevention.conf"
4040

4141

4242

4343
# Module "internet explorer"
4444

4545
title "internet explorer"
46-
enable "src/internet_explorer/x-ua-compatible.conf"
46+
enable "h5bp/internet_explorer/x-ua-compatible.conf"
4747

4848

4949

5050
# Module "media types and character encodings"
5151

5252
title "media types and character encodings"
53-
enable "src/media_types/media_types.conf"
54-
enable "src/media_types/character_encodings.conf"
53+
enable "h5bp/media_types/media_types.conf"
54+
enable "h5bp/media_types/character_encodings.conf"
5555

5656

5757

5858
# Module "rewrites"
5959

6060
title "rewrites"
61-
enable "src/rewrites/rewrite_engine.conf"
62-
disable "src/rewrites/rewrite_http_to_https.conf"
63-
enable "src/rewrites/rewrite_nowww.conf"
64-
disable "src/rewrites/rewrite_www.conf"
61+
enable "h5bp/rewrites/rewrite_engine.conf"
62+
disable "h5bp/rewrites/rewrite_http_to_https.conf"
63+
enable "h5bp/rewrites/rewrite_nowww.conf"
64+
disable "h5bp/rewrites/rewrite_www.conf"
6565

6666

6767

6868
# Module "security"
6969

7070
title "security"
71-
disable "src/security/x-frame-options.conf"
72-
disable "src/security/content-security-policy.conf"
73-
enable "src/security/file_access.conf"
74-
disable "src/security/strict-transport-security.conf"
75-
enable "src/security/x-content-type-options.conf"
76-
disable "src/security/x-xss-protection.conf"
77-
disable "src/security/referrer-policy.conf"
78-
disable "src/security/trace_method.conf"
79-
enable "src/security/x-powered-by.conf"
80-
enable "src/security/server_software_information.conf"
71+
disable "h5bp/security/x-frame-options.conf"
72+
disable "h5bp/security/content-security-policy.conf"
73+
enable "h5bp/security/file_access.conf"
74+
disable "h5bp/security/strict-transport-security.conf"
75+
enable "h5bp/security/x-content-type-options.conf"
76+
disable "h5bp/security/x-xss-protection.conf"
77+
disable "h5bp/security/referrer-policy.conf"
78+
disable "h5bp/security/trace_method.conf"
79+
enable "h5bp/security/x-powered-by.conf"
80+
enable "h5bp/security/server_software_information.conf"
8181

8282

8383

8484
# Module "web performance"
8585

8686
title "web performance"
87-
enable "src/web_performance/compression.conf"
88-
disable "src/web_performance/pre-compressed_content_brotli.conf"
89-
disable "src/web_performance/pre-compressed_content_gzip.conf"
90-
disable "src/web_performance/content_transformation.conf"
91-
enable "src/web_performance/etags.conf"
92-
enable "src/web_performance/cache_expiration.conf"
93-
disable "src/web_performance/file_concatenation.conf"
94-
disable "src/web_performance/filename-based_cache_busting.conf"
87+
enable "h5bp/web_performance/compression.conf"
88+
disable "h5bp/web_performance/pre-compressed_content_brotli.conf"
89+
disable "h5bp/web_performance/pre-compressed_content_gzip.conf"
90+
disable "h5bp/web_performance/content_transformation.conf"
91+
enable "h5bp/web_performance/etags.conf"
92+
enable "h5bp/web_performance/cache_expiration.conf"
93+
disable "h5bp/web_performance/file_concatenation.conf"
94+
disable "h5bp/web_performance/filename-based_cache_busting.conf"

src/basic.conf h5bp/basic.conf

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/build/htaccess_fixture.conf

+30-30
Original file line numberDiff line numberDiff line change
@@ -24,69 +24,69 @@
2424
# Module "cross-origin"
2525

2626
title "cross-origin"
27-
omit "src/cross-origin/requests.conf"
28-
enable "src/cross-origin/images.conf"
29-
enable "src/cross-origin/web_fonts.conf"
30-
enable "src/cross-origin/resource_timing.conf"
27+
omit "h5bp/cross-origin/requests.conf"
28+
enable "h5bp/cross-origin/images.conf"
29+
enable "h5bp/cross-origin/web_fonts.conf"
30+
enable "h5bp/cross-origin/resource_timing.conf"
3131

3232

3333

3434
# Module "errors"
3535

3636
title "errors"
37-
enable "src/errors/custom_errors.conf"
38-
enable "src/errors/error_prevention.conf"
37+
enable "h5bp/errors/custom_errors.conf"
38+
enable "h5bp/errors/error_prevention.conf"
3939

4040

4141

4242
# Module "internet explorer"
4343

4444
title "internet explorer"
45-
enable "src/internet_explorer/x-ua-compatible.conf"
45+
enable "h5bp/internet_explorer/x-ua-compatible.conf"
4646

4747

4848

4949
# Module "media types and character encodings"
5050

5151
title "media types and character encodings"
52-
enable "src/media_types/media_types.conf"
53-
enable "src/media_types/character_encodings.conf"
52+
enable "h5bp/media_types/media_types.conf"
53+
enable "h5bp/media_types/character_encodings.conf"
5454

5555

5656

5757
# Module "rewrites"
5858

5959
title "rewrites"
60-
enable "src/rewrites/rewrite_engine.conf"
61-
omit "src/rewrites/rewrite_http_to_https.conf"
62-
enable "src/rewrites/rewrite_nowww.conf"
60+
enable "h5bp/rewrites/rewrite_engine.conf"
61+
omit "h5bp/rewrites/rewrite_http_to_https.conf"
62+
enable "h5bp/rewrites/rewrite_nowww.conf"
6363

6464

6565

6666
# Module "security"
6767

6868
title "security"
69-
enable "src/security/x-frame-options.conf"
70-
enable "src/security/content-security-policy.conf"
71-
enable "src/security/file_access.conf"
72-
enable "src/security/strict-transport-security.conf"
73-
enable "src/security/x-content-type-options.conf"
74-
enable "src/security/x-xss-protection.conf"
75-
enable "src/security/referrer-policy.conf"
76-
omit "src/security/trace_method.conf"
77-
enable "src/security/x-powered-by.conf"
78-
enable "src/security/server_software_information.conf"
69+
enable "h5bp/security/x-frame-options.conf"
70+
enable "h5bp/security/content-security-policy.conf"
71+
enable "h5bp/security/file_access.conf"
72+
enable "h5bp/security/strict-transport-security.conf"
73+
enable "h5bp/security/x-content-type-options.conf"
74+
enable "h5bp/security/x-xss-protection.conf"
75+
enable "h5bp/security/referrer-policy.conf"
76+
omit "h5bp/security/trace_method.conf"
77+
enable "h5bp/security/x-powered-by.conf"
78+
enable "h5bp/security/server_software_information.conf"
7979

8080

8181

8282
# Module "web performance"
8383

8484
title "web performance"
85-
enable "src/web_performance/compression.conf"
86-
enable "src/web_performance/pre-compressed_content_brotli.conf"
87-
enable "src/web_performance/pre-compressed_content_gzip.conf"
88-
enable "src/web_performance/content_transformation.conf"
89-
enable "src/web_performance/etags.conf"
90-
enable "src/web_performance/cache_expiration.conf"
91-
enable "src/web_performance/file_concatenation.conf"
92-
enable "src/web_performance/filename-based_cache_busting.conf"
85+
enable "h5bp/web_performance/compression.conf"
86+
enable "h5bp/web_performance/pre-compressed_content_brotli.conf"
87+
enable "h5bp/web_performance/pre-compressed_content_gzip.conf"
88+
enable "h5bp/web_performance/content_transformation.conf"
89+
enable "h5bp/web_performance/etags.conf"
90+
enable "h5bp/web_performance/cache_expiration.conf"
91+
enable "h5bp/web_performance/file_concatenation.conf"
92+
enable "h5bp/web_performance/filename-based_cache_busting.conf"

0 commit comments

Comments
 (0)