Skip to content

Commit

Permalink
Remove unneeded .+$ from RewriteCond
Browse files Browse the repository at this point in the history
Thanks: Chen Hua (@a25ce1).

Close #11.
  • Loading branch information
alrra committed Dec 17, 2013
1 parent b6fcbf8 commit fb1699d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ AddDefaultCharset utf-8

# <IfModule mod_rewrite.c>
# RewriteCond %{HTTPS} !=on
# RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
# RewriteCond %{HTTP_HOST} !^www\. [NC]
# RewriteCond %{HTTP_HOST} !=localhost [NC]
# RewriteCond %{HTTP_HOST} !=127.0.0.1
# RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Expand Down

0 comments on commit fb1699d

Please sign in to comment.