Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Subdomain - variable Mod Rewrite doesnt work. Please help


jdMorgan - 5:58 pm on Oct 16, 2005 (gmt 0)


hp_solomon,

Welcome to WebmasterWorld!

If you wish to reference the value of the subdomain stored by the RewriteCond back-reference, you must use %1, not $1 in the RewriteRule substitution. See the [url=http://httpd.apache.org/docs/mod/mod_rewrite.html]mod_rewrite documentation{/url}.

Jim


Thread source:: http://www.webmasterworld.com/apache/4866.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com