Skip to content

Commit ade3659

Browse files
XhmikosRLeoColomb
authored andcommitted
Assorted grammar fixes
1 parent 2149440 commit ade3659

15 files changed

+38
-35
lines changed

.github/CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Please take a moment to review this document in order to make the contribution
88
process easy and effective for everyone involved.
99

1010
Following these guidelines helps to communicate that you respect the time of
11-
the developers managing and developing this open source project. In return,
11+
the developers managing and developing this open-source project. In return,
1212
they should reciprocate that respect in addressing your issue or assessing
1313
patches and features.
1414

@@ -41,7 +41,7 @@ Guidelines for bug reports:
4141
2. **Check if the issue has been fixed** — try to reproduce it using the
4242
latest `master` or development branch in the repository.
4343

44-
3. **Isolate the problem** — ideally create a [reduced test
44+
3. **Isolate the problem** — ideally, create a [reduced test
4545
case](https://css-tricks.com/reduced-test-cases/) and a live example.
4646

4747
A good bug report shouldn't leave others needing to chase you up for more
@@ -123,7 +123,7 @@ included in the project:
123123

124124
4. Commit your changes in logical chunks. Please adhere to these [git commit
125125
message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
126-
or your code is unlikely be merged into the main project. Use Git's
126+
or your code is unlikely to be merged into the main project. Use Git's
127127
[interactive rebase](https://help.github.com/articles/about-git-rebase/)
128128
feature to tidy up your commits before making them public.
129129

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### 3.2.1 (May 8, 2019)
22

3-
* Fix NPM releasing
3+
* Fix npm releasing
44
[[4b0ee86](https://github.com/h5bp/server-configs-apache/commit/4b0ee8643c2c4f7dafafca82be67dc3309c0b479)]
55

66
### 3.2.0 (May 6, 2019)

README.md

+17-14
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ accessible, if needed, even cross-domain.
1010

1111
## Getting Started
1212

13-
There are a two options for getting the Apache server configs:
13+
There are two options for getting the Apache server configs:
1414

1515
* If you have access to the [main server configuration
1616
file](https://httpd.apache.org/docs/current/configuring.html#main)
17-
(usually called `httpd.conf`), you should configure Apache by this way.
17+
(usually called `httpd.conf`), you should configure Apache this way.
1818
This is usually the recommended way, as using `.htaccess` files [slows
1919
down](https://httpd.apache.org/docs/current/howto/htaccess.html#when)
2020
Apache!
@@ -53,7 +53,7 @@ Most specific variables are:
5353
apache2 -t -f httpd.conf
5454
```
5555

56-
* To reload Apache and apply new config
56+
* To reload Apache and apply the new config
5757

5858
```shell
5959
apache2ctl reload
@@ -158,7 +158,7 @@ This repository has the following structure:
158158
* **`basic.conf`**
159159

160160
This file loads a small subset of the rules provided by this repository to add
161-
expires headers, allow cross domain fonts and protect system files from web
161+
expires headers, allow cross-domain fonts and protect system files from web
162162
access.
163163
The `basic.conf` file includes the rules which are recommended to always be
164164
defined.
@@ -251,7 +251,7 @@ to your settings in the `htaccess.conf` of your project root.
251251
252252
#### Configuration file: `htaccess.conf`
253253
254-
Allows you to define which module to [enable](#enabling-modules) or
254+
It allows you to define which module to [enable](#enabling-modules) or
255255
[disable](#disabling-modules) for your project. Just copy the default
256256
[`htaccess.conf`](https://github.com/h5bp/server-configs-apache/blob/master/bin/htaccess.conf)
257257
from this repo into your project directory. Adjust to your needs, and/or
@@ -290,7 +290,7 @@ omit "h5bp/cross-origin/web_fonts.conf"
290290
291291
##### Enabling modules
292292
293-
For example, the *“Forcing https://”* snippet is disabled by default,
293+
For example, the *“Forcing `https://`”* snippet is disabled by default,
294294
although being included in our pre-built `.htaccess`. To enable this
295295
snippet, change the `disable` keyword to `enable`:
296296
@@ -301,7 +301,7 @@ enable "h5bp/rewrites/rewrite_http_to_https.conf"
301301
##### Adding custom modules
302302
303303
Imagine you're passing all requests to non-existing files to your
304-
favourite web framework. The according
304+
favorite web framework. The according
305305
[_mod_dir_](https://httpd.apache.org/docs/trunk/mod/mod_dir.html#fallbackresource)
306306
snippet would go like this:
307307

@@ -322,9 +322,10 @@ enable "config/framework_rewrites.conf"
322322
Dive into your project root and call the build script from wherever you cloned
323323
the repo. Here are three examples:
324324

325-
**1. Create a default `.htaccess`**
326-
in current work directory. An existing `htaccess.conf` in this directory will
327-
be used; if none is present, the
325+
1. Create a default `.htaccess`
326+
327+
Create a default `.htaccess` in the current work directory. An existing
328+
`htaccess.conf` in this directory will be used; if none is present, the
328329
[**default configuration**](https://github.com/h5bp/server-configs-apache/blob/master/bin/htaccess.conf)
329330
will apply.
330331

@@ -337,8 +338,9 @@ $ path/to/server-configs-apache/bin/build.sh
337338
[✔] Moved in place: './.htaccess'
338339
```
339340

340-
**2. Custom output location**
341-
Just add output path and filename as parameter. By the way, if there's an
341+
2. Custom output location
342+
343+
Just add an output path and filename as a parameter. By the way, if there's an
342344
existing `.htaccess` file, the build script will create a backup.
343345
344346
```console
@@ -348,9 +350,10 @@ $ path/to/server-configs-apache/bin/build.sh htdocs/.htaccess
348350
[✔] Moved in place: 'htdocs/.htaccess'
349351
```
350352
351-
**3. Custom `.htaccess` configuration**
353+
3. Custom `.htaccess` configuration
354+
352355
Why not maintain your personal `~/htaccess.conf`? This example creates a
353-
`.htaccess` in current work directory, according to your favourite settings
356+
`.htaccess` in the current work directory, according to your favorite settings
354357
you may have stored in your `$HOME` directory:
355358
356359
```bash

h5bp/internet_explorer/x-ua-compatible.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# ----------------------------------------------------------------------
44

55
# Force Internet Explorer 8/9/10 to render pages in the highest mode
6-
# available in the various cases when it may not.
6+
# available in various cases when it may not.
77
#
88
# https://hsivonen.fi/doctype/#ie8
99
#

h5bp/security/file_access.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Block access to directories without a default document.
66
#
77
# You should leave the following uncommented, as you shouldn't allow anyone to
8-
# surf through every directory on your server (which may includes rather
8+
# surf through every directory on your server (which may include rather
99
# private places such as the CMS's directories).
1010

1111
<IfModule mod_autoindex.c>
@@ -14,7 +14,7 @@
1414

1515
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1616

17-
# Block access to all hidden files and directories with the exception of the
17+
# Block access to all hidden files and directories except for the
1818
# visible content from within the `/.well-known/` hidden directory.
1919
#
2020
# These types of files usually contain user preferences or the preserved state

h5bp/security/strict-transport-security.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
# opportunity (the initial HTTP connection) for an attacker to downgrade or
1010
# redirect the request.
1111
#
12-
# The following header ensures that browser only connects to your server
12+
# The following header ensures that a browser only connects to your server
1313
# via HTTPS, regardless of what the users type in the browser's address bar.
1414
#
1515
# (!) Be aware that Strict Transport Security is not revokable and you
1616
# must ensure being able to serve the site over HTTPS for the duration
1717
# you've specified in the `max-age` directive. When you don't have a
18-
# valid TLS connection anymore (e.g. due to an expired TLS cerfiticate)
18+
# valid TLS connection anymore (e.g. due to an expired TLS certificate)
1919
# your visitors will see a nasty error message even when attempting to
2020
# connect over HTTP.
2121
#

h5bp/security/trace_method.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Prevent Apache from responding to `TRACE` HTTP request.
66
#
7-
# The TRACE method, while apparently harmless, can be successfully leveraged
7+
# The TRACE method, while seemingly harmless, can be successfully leveraged
88
# in some scenarios to steal legitimate users' credentials.
99
#
1010
# Modern browsers now prevent TRACE requests being made via JavaScript,

h5bp/security/x-powered-by.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# some cases, the information it provides can expose vulnerabilities
1313
#
1414
# (!) If you can, you should disable the `X-Powered-By` header from the
15-
# language / framework level (e.g.: for PHP, you can do that by setting
15+
# language/framework level (e.g.: for PHP, you can do that by setting
1616
# `expose_php = off` in `php.ini`).
1717
#
1818
# https://php.net/manual/en/ini.core.php#ini.expose-php

h5bp/security/x-xss-protection.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# (1) Try to re-enable the cross-site scripting (XSS) filter built into most
88
# web browsers.
99
#
10-
# The filter is usually enabled by default, but in some cases it may be
11-
# disabled by the user. However, in Internet Explorer for example, it can be
10+
# The filter is usually enabled by default, but in some cases, it may be
11+
# disabled by the user. However, in Internet Explorer, for example, it can be
1212
# re-enabled just by sending the `X-XSS-Protection` header with the value
1313
# of `1`.
1414
#

h5bp/web_performance/cache_expiration.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# | Cache expiration |
33
# ----------------------------------------------------------------------
44

5-
# Serve resources with far-future expiration date.
5+
# Serve resources with a far-future expiration date.
66
#
77
# (!) If you don't control versioning with filename-based cache busting, you
88
# should consider lowering the cache times to something like one week.

h5bp/web_performance/pre-compressed_content_gzip.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# | GZip pre-compressed content |
33
# ----------------------------------------------------------------------
44

5-
# Serve gzip compressed CSS, JS, HTML, SVG, ICS and JSON files if they exist
5+
# Serve gzip compressed CSS, JS, HTML, SVG, ICS, and JSON files if they exist
66
# and if the client accepts gzip encoding.
77
#
88
# (!) To make this part relevant, you need to generate encoded files by your
@@ -13,7 +13,7 @@
1313
# (1) Removing default MIME Type for .gz files allowing to add custom
1414
# sub-types.
1515
# You may prefer using less generic extensions such as .html_gz in order to
16-
# keep default behavior regarding .gz files.
16+
# keep the default behavior regarding .gz files.
1717
# https://httpd.apache.org/docs/current/mod/mod_mime.html#removetype
1818

1919
<IfModule mod_headers.c>

httpd.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Listen 443
5555
# https://httpd.apache.org/docs/current/mod/core.html#errorlog
5656
ErrorLog logs/error.log
5757

58-
# Manimum level of messages to be logged to the ErrorLog.
58+
# Minimum level of messages to be logged to the ErrorLog.
5959
# Default: warn
6060
# https://httpd.apache.org/docs/current/mod/core.html#loglevel
6161
LogLevel warn
@@ -80,7 +80,7 @@ ServerTokens Prod
8080
Include h5bp/security/server_software_information.conf
8181

8282
# Prevent Apache from responding to `TRACE` HTTP request.
83-
# The TRACE method, while apparently harmless, can be successfully
83+
# The TRACE method, while seemingly harmless, can be successfully
8484
# leveraged in some scenarios to steal legitimate users' credentials.
8585
# https://httpd.apache.org/docs/current/mod/core.html#traceenable
8686
TraceEnable Off

vhosts/.000-default.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# If no default server is defined, Apache will use the first found server.
88
# To prevent host header attacks, or other potential problems when an unknown
9-
# server name is used in a request, it's recommended use en empty virtual host
9+
# server name is used in a request, it's recommended to use an empty virtual host
1010
# as the first loaded one.
1111

1212
<VirtualHost *:443>

vhosts/000-no-ssl-default.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# If no default server is defined, Apache will use the first found server.
88
# To prevent host header attacks, or other potential problems when an unknown
9-
# server name is used in a request, it's recommended use en empty virtual host
9+
# server name is used in a request, it's recommended to use an empty virtual host
1010
# as the first loaded one.
1111
#
1212
# (1) In production, only secure hosts should be used (all `no-ssl` disabled).

vhosts/templates/example.com.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# | Config file for example.com host |
33
# ----------------------------------------------------------------------
44
#
5-
# This file is a template for a Apache virtual host.
5+
# This file is a template for an Apache virtual host.
66
# This virtual host listens for the `example.com` host and handles requests.
77
# Replace `example.com` with your hostname before enabling.
88

0 commit comments

Comments
 (0)