Permalink
Browse files

.htaccess - allow optional default port in rewrite regexp

  • Loading branch information...
1 parent 43aad28 commit 8e438eace7591ddb07da0fa366d169b03d4545fe @IgorMinar IgorMinar committed Apr 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 .htaccess
View
@@ -32,7 +32,7 @@ RewriteRule ^latest/(.*)$ /1.0.2/$1
# If the request comes on http://docs.angularjs.org then point it to snapshot/docs
-RewriteCond %{HTTP_HOST} ^docs\.angularjs\.org$
+RewriteCond %{HTTP_HOST} ^docs\.angularjs\.org(\:80)?$
RewriteRule ^(.*)$ /snapshot/docs/$1

0 comments on commit 8e438ea

Please sign in to comment.