tomsch
  •  tomsch
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2009-08-11T10:35:22Z
Hi,
I would like to create 6 forum boards. For each one I want to use another url f.e:
forum1.something.com
forum2.something.com
...
forum6.something.com

Is it possible to rewrite subdomains using intelligencia.urlrewriter? If so, how ?
can you help me please?
thank you
Tom
Sponsor
tomsch
  •  tomsch
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
2009-08-11T11:01:11Z
...
I tried to do it this way but with no success:

<if header="HTTP_HOST" match="^(?:www\.)??([^.]+)\.([^.]+)\.([^.]+)$">
<set property="s1" value="$1"/>
<set property="s2" value="$2"/>
<set property="s3" value="$3"/>

<rewrite url="http://forum1.something.com/default.aspx" to="~/Default.aspx?s1=forum1" />

</if>

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved