diff options
author | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-05-11 10:31:12 +0200 |
---|---|---|
committer | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-05-11 10:31:12 +0200 |
commit | 37ad9876289b6d8b6ceeea4519c48277b725d052 (patch) | |
tree | f3d9adf2b6e375329e951f6f9faf7ad83369a9f1 | |
parent | 1214201a060229bb0853aea1f2ea1a90bbabe196 (diff) |
Incorrect parsing of the domain fixed
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,12 +13,12 @@ RewriteRule (.*\/)(.*) - [E=LP_DOWNLOAD_DIR:%1] ## without port number for use in cookie domain RewriteCond %{SERVER_PORT} !^80$ [OR] RewriteCond %{SERVER_PORT} !^443$ -RewriteCond %{HTTP_HOST} (.*)(\:.*) +RewriteCond %{HTTP_HOST} ^([^:]*)$ RewriteRule .* - [E=CO_DOMAIN:%1] RewriteCond %{SERVER_PORT} !^80$ [OR] RewriteCond %{SERVER_PORT} !^443$ -RewriteCond %{HTTP_HOST} (^.*$) +RewriteCond %{HTTP_HOST} ^([^:]*):(.*)$ RewriteRule .* - [E=CO_DOMAIN:%1] ## Let internal hosts through always. |