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 ...?ctl=register fails to point to custom page?ctl=register fails to point to custom page
Previous
 
Next
New Post
6/3/2014 6:00 PM
 
Do you know how this will work for a dnn installation with multiple portals? Will changing this in the web.config affect all of the portals?
 
New Post
6/3/2014 8:17 PM
 
Robert Flynn wrote:

I enabled "request filters" in Host Settings->Other Settings->Enable Request Filters

I added the code to <system.webserver>:</system.webserver>



    

         

              

        


    




!!!!! Notice the space between add and sequence in the

Otherwise you get an error when the site tries to load:-)

Thanks for the help!!!!:-)

Robert - it's a bad idea to block the /ctl/ path - this is used for many things in DNN, including editing pages, and blocking this will break your site. If you want to change the standard registration page and block the default registration page from spammers, then I suggest you follow my Wiki article on replacing DNN registration page and blocking spam registrations. This shows how to do what you want to do without breaking your site.

To answer the other question - yes, doing something at this level changes it for all sites on the DNN install. So if you're going to block the default registration URL, then you need to reconfigure the registration page details for every site in the installation before you enable any type of request filter.

 
New Post
6/5/2014 5:10 PM
 
Way to go Bruce!  Thanks!
 
New Post
6/6/2014 1:10 PM
 

After executing and testing the procedure outlined at: http://www.dnnsoftware.com/wiki/page/...

I noticed that I had 17 spam registrations!

I then enabled captcha in the site settings->user account settings->Use CAPTCHA For Registration to see if this would stop it.  Sadly no!

I then re-enabled the request filtering and it stopped.

I have now modified the request filtering to:

<add sequence="ctl=register" />
<add sequence="/register" />

I'll let you know how it works out!  Even though the testing revealed that the /register and ?ctl=register strings returned an 404 rejection code the spammer was still getting through!  Must be another hole that is not affected by the:

Server Variable : HTTP_URL
Operation : Regex
Match Value : (?<=\?)ctl=register|(?<!\?)/register
Action : NotFound
Location : (empty)

 
New Post
6/22/2014 9:42 AM
 

I saw this post been dated back in 2007 where most DNN versions were not available, see below list of parameters being asked on Enabling Request Filters below.

When I'm enabling Enable Request Filters from Host -> Host Settings -> Other Settings it opens up a list of parameters to be set up i.e. Server Variable, Operation, Match Value, Action, Location and I don't know what parameters to put on each one.

Of course there is a MSDN documentaion available http://msdn.microsoft.com/en-us/library/ms524602(v=vs.90).aspx but still don't know what to put where.

Can you help?

And another question: Apart from that value setting up within Host Settings, Do I need to add the code to web.config as well?


Panagiotis Mylonas Managing Director InteliBrain http://InteliBrain.gr
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...?ctl=register fails to point to custom page?ctl=register fails to point to custom page


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