Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Question about using Request Filter SettingsQuestion about using Request Filter Settings
Previous
 
Next
New Post
3/21/2011 1:23 PM
 
I have a client that purchased multiple domains and wants some of the domains to point to specific pages within a single site.

For example if the primary domain for the website is Domain_A.com and they have also purchased Domain_B.com and Domain_C.com they want something like the following to happen:

Site Visitor browses to Domain_B.com and is redirected to Domain_A.com/SpecialPage.aspx.

And:

Site Visitor browses to Domain_C.com and is redirected to Domain_A.com/DifferentPage.aspx

Is the Request Filter appropriate for this?

If yes, then is ALL_HTTP the server variable that I should use and would it be an "Equal" match for HTTP://DOMAIN_B.COM or HTTP://DOMAIN_C.COM?

Thanks in advance.



 
New Post
3/21/2011 2:22 PM
 
Digging around I figured out that the servervariable I probabaly want to use is HTTP_HOST, but I'm a little unsure of what to do next.  It probably won't be in upper case or otherwise "normalized".  Is there a regex I could use to make this work without creating several rules?

Any advice or examples would be appreciated.
 
New Post
3/22/2011 7:09 PM
 
Bump, please!
 
New Post
3/23/2011 9:24 AM
 
I started experimenting with this on a test site, but I can't seem to get it to work.  Here is an example of what gets written to the DotNetNuke.config file.

<blockrequests>
  <rule servervar="HTTP_HOST" values=WWW.DOMAIN_B.COM" operator="Equal" action="PermanentRedirect" location="www.domain_a.com/Contact/ContactUs.aspx" />
</blockrequests>

Of course I have valid domains rather than domain_a.com and domain_b.com, but it doesn't seem to do anything.  Has anyone got any suggestions?
 
New Post
3/24/2011 9:20 AM
 
Bump again.  I really need some kind of guidance here.  Is there nobody who has any experience with this feature?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Question about using Request Filter SettingsQuestion about using Request Filter Settings


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out