[bug] fixed markup to include relative link from table of contents to snippet

This commit is contained in:
Luke Storer 2015-02-12 17:57:27 +00:00
parent 5af99d891d
commit 20ebc58bc2
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ What I'm doing here is mostly collecting useful snippets from all over the inter
- [Force www](#force-www)
- [Force www in a Generic Way](#force-www-in-a-generic-way)
- [Force non-www](#force-non-www)
- [Force non-www (preserve protocol)](#force-non-www-keep-protocol)
- [Force non-www in a generic way](#force-non-www-in-a-generic-way)
- [Force HTTPS](#force-https)
- [Force HTTPS Behind a Proxy](#force-https-behind-a-proxy)
- [Force Trailing Slash](#force-trailing-slash)
@ -72,7 +72,7 @@ RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
```
### Force non-www whilst keeping the current protocol (http:// or https://)
### Force non-www in a Generic Way
``` apacheconf
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.