#56634, docs improvement, patch by JonBob
parent
d6a164c400
commit
dec8354485
|
@ -54,11 +54,11 @@ DirectoryIndex index.php
|
||||||
# If your site can be accessed both with and without the prefix www.
|
# If your site can be accessed both with and without the prefix www.
|
||||||
# you can use one of the following settings to force user to use only one option:
|
# you can use one of the following settings to force user to use only one option:
|
||||||
#
|
#
|
||||||
# If you want the site to be accessed WITH the www. only, adapt and comment out the following:
|
# If you want the site to be accessed WITH the www. only, adapt and uncomment the following:
|
||||||
# RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
|
# RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
|
||||||
# RewriteRule .* http://www.example.com/ [L,R=301]
|
# RewriteRule .* http://www.example.com/ [L,R=301]
|
||||||
#
|
#
|
||||||
# If you want the site to be accessed only WITHOUT the www. , adapt and comment out the following:
|
# If you want the site to be accessed only WITHOUT the www. , adapt and uncomment the following:
|
||||||
# RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
|
# RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
|
||||||
# RewriteRule .* http://example.com/ [L,R=301]
|
# RewriteRule .* http://example.com/ [L,R=301]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue