httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Server-Variables in CondPattern of RewriteCond directive
Date Wed, 22 Apr 2009 17:06:08 GMT
On Wed, Apr 22, 2009 at 1:02 PM, Eric Covener <covener@gmail.com> wrote:
> RewriteRule .* http://%{SERVER_NAME}$1 [R]
> RewriteRule .* http://%{SERVER_NAME}$1 [R]

I'll head Andre off -- yes you need to actually capture something to use $1

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message