Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUrl Master and DotNetNuke 5.1Url Master and DotNetNuke 5.1
Previous
 
Next
New Post
9/2/2009 6:23 PM
 

The only thing that makes sense to me is that this is running on 64-bit Windows Server 2008. And to answer your question, I don't see any change in language - nothing at all makes the switch, except, if the DNN setting for injecting ".language/es-MX" in to the IRL is enabled, the URL will change. But nothing else changes.

There is a mirrored setup used for staging that runs on 32-bit Windows Server 2008, and it switches fine.

So I am goping to bet that your test above was 32 bit.

If it helps, I could give you an area on 64 bit Windows to isolate the problem. I have selfish ressons for doing so - I need this to work!

 
New Post
9/2/2009 10:17 PM
 

Bruce,II swear I'm not making this up. After a lot of pain, here's what I found.

This is all based on DNN v5.1.1.

32 bit: language switching works everywhere, regardless of UrlMaster settings.

64 bit: language switching breaks when "force lowercase" is applied - except it doesn't break on the Admin or Host pages.

As a test, I did a fresh install of DNN v5.1.1, loaded UrlMaster, stripped out all home page content, used a stock DNN skin, and tried it with/without lowercase URLs. It breaks on the home page when lowercase is selected in UrlMaster settings.

If you want to see for your self, please register at dnn5.swanzey.com.

 
New Post
9/3/2009 3:30 AM
 

OK getting somewhere now.  If you request http://dnn5.swanzey.com/language/es-MX/home.aspx then it looks like the language switching works OK (getting spanish words).

My guess is that forcing the es-MX to es-mx is breaking the language conversion somehow.  If you say this is 64 bit only, I believe you, and perhaps it's because of stricter case-sensitive matching or something.

The short term solution is to switch off the force-lower case option.  You can exclude force lower case by the regex setting, but you'd have to do it for all es-MX Urls, which kind of defeats the purpose.

The long term solution is to change the force lower case code so that it ignores any language portion of the Url, or perhaps to change the rewriting so that it enforces the 'correct' case of the language parameter.

 
New Post
12/7/2009 5:19 AM
 

Bruce

Thanks so much!

Just a quick thanks for posting the URL Rewrite info... Your web.config changes solved my issue in  3-minutes... A rare occurrence in most cases!

Thanks a ton... You have awesome karma!

URL FIX - THANKS AGAIN FOR THE BELOW INFO:

8/11/2009 8:10 AM -   
Bruce Chapman
1405 posts
Re: URGENT : Url Master and DotNetNuke 5.1 : entire website down
Quote Reply


Steve - the instructions on how to restore your site are as follows:


1) Locate the 'UrlRewrite' entry in the web.config. If you're running IIS5/6, it will be in the <system.web> section. If you're running IIS7, it will be in the <system.webserver> section.

Remove this entry:

<add name="UrlRewrite" type="iFinity.DNN.Modules.UrlMaster.UrlRewriteModule, iFinity.UrlMaster.FriendlyUrlProvider" />

and replace it with this entry:

<add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />

2) Locate the 'DNNFriendlyUrl' section. This will be the same regardless of the IIS version.

Remove this entry:

<add name="DNNFriendlyUrl" type="iFinity.DNN.Modules.UrlMaster.DNNFriendlyUrlProvider, iFinity.UrlMaster.FriendlyUrlProvider" includePageName="true" regexMatch="[^\+a-zA-Z0-9 _-]" urlFormat="HumanFriendly" {....} />

and replace with this entry:

<add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" />

Save your web.config, and your site should be running again.

When you have got your site working again, please check that the rewrite is working OK with the 'test url rewrite' function in the Friendly Url Settings screen.

If you switched off page extensions, please try enabling the module without switching off the page extensions, and see if that works.
 

 
New Post
1/6/2010 6:28 PM
 

Bruce Chapman wrote
 

Also, you may wish to update the regex filters to the latest recommended values (if you haven't already modified them for your own purposes).

Here are the latest default values for Url Master 1.14 - you can update them through the Host->Friendly Url Settings page

ignoreRegex : (?

doNotRewriteRegex : /DesktopModules/|/Providers/|/LinkClick\.aspx

doNotRedirectRegex : /LinkClick\.aspx|/Providers/|/DesktopModules/

triggerDictionaryRebuildRegex : &ctl=tab|/ctl/tab|/Admin/Tabs/|/ctl/Signup

If you find any other DNN 5.1 related issues, please add to this thread.

Hi Bruce,

I am on 5.2.1 and facing endless problems - still trying to figure out the culprit. I am editing my web.config directly - just to confirm - here is my current setting:

ignoreFileTypesRegex

="(?&lt;!linkclick\.aspx.+)(?:\.pdf|\.gif|\.png|\.css|\.js|\.jpg|\.html|\.htm|\.axd|/ajaxpro/)"

is that the same as your IgnoreRegex, and should I add the ajaxpro stuff?

My trigger rebuild is also quite different:

triggerDictionaryRebuildRegex

just to be confirm - I should change it?

 

 

="(.+)(\&amp;ctl=tab)(.+)|(/Admin/Tabs/)"

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl MasterUrl Master and DotNetNuke 5.1Url Master and DotNetNuke 5.1


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).