Project

General

Profile

« Previous | Next » 

Revision 8013

web/main/.htaccess: RewriteRules with [redirect] and http:// : Removed [redirect] because it is implied when the replacement is an absolute URL

View differences:

.htaccess
10 10

  
11 11
# remove www subdomain
12 12
RewriteCond %{HTTP_HOST} ^www\.(.*)$
13
RewriteRule ^.*$ http://%1/$0 [discardpath,noescape,last,redirect]
13
RewriteRule ^.*$ http://%1/$0 [discardpath,noescape,last]
14 14

  
15 15
# translate subdomain to path
16 16
RewriteCond expr "%{HTTP_HOST} != %{SERVER_NAME}"

Also available in: Unified diff