Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...4.7 and Ultramedia4.7 and Ultramedia
Previous
 
Next
New Post
11/25/2008 1:10 AM
 

Good news that your site is working.

As a background- the $ in regex is a end-string match.  That is, if you have a regex patter  xml$, it will only match where the xml is the end of the string.  If you have .xml with no $, it will match xml anywhere in the string - which is what you need with this module. 

 
New Post
11/25/2008 10:58 PM
 

Bruce, the UltraMediaGallery won't display "comments" or allow you to click the photo for exif.

I tried excluding files/directories (perhaps badly)
ignoreFileTypesRegex="(?<!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png$|\.css$|\.js$|(?<!exif\.aspx.+)\.jpg$|\.comment\.aspx+|\.xml|\.html|\.htm|\.axd|\.swf$|\.flv$|/ajaxpro/|/BizModules%20-%20UltraPhotoGallery/.)" 
but found this in event viewer:

I have left this running, so you can "fiddle" - comments always produce 302 error or click on bottom left of picture, where comment stars should be and you're taken to home page. For the exif, just click anywhere on a picture and it takes you to home page,rather than exif page.
Both the comments and exif can be turned off in settings in UMG but I'd like to use these. Any ideas?
http://oasiscruise.com/Photo-Albums/Vancouver-Island/
 

Event code: 4005

Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.

 
New Post
11/26/2008 12:32 AM
 

If you're blocking anything, you don't need the %20 because the regex filters work on unencoded urls.  this is just FYI.

The 302 error is from an error occuring, dnn is doing a 302 to the error page for the request.   My guess is that this request needs to go past the 'ignoreRegex' point, and get stopped before the 'rewrite' point.  Between these two points of code the portalSettings object is loaded, which is (probably) what the 'object not found' error is.

So I would remove the /BizModules%20-%20UltraPhotoGallery/. from the regex, and see if that helps.  Make sure you have a '/DesktopModules/' in both your doNotRewriteRegex and doNotRedirectRegex, this should stop any unwanted rewriting and redirecting on the request.

As for the exif - the ?<!exif\.aspx request before the jpg is supposed to allow exif requests through - but perhaps the files are a different extension?  I couldn't work out how to show the exif on the slideshow - you'll have to tell me how.

 
New Post
12/9/2008 10:57 AM
 

I got the exif to work, here is the web.config I'm using:
<friendlyUrl defaultProvider="iFinity.FriendlyUrl">
      <providers>
        <clear />
<add name="iFinity.FriendlyUrl" type="iFinity.DNN.Modules.FriendlyUrl.DNNFriendlyUrlProvider, iFinity.FriendlyUrlProvider"
 includePageName="true"
 regexMatch="[^\+a-zA-Z0-9 _-]"
 urlFormat="HumanFriendly"
 redirectUnfriendly="true"
 redirectDefaultPath="true"
 doNotRewriteRegex="(\.axd)|/DesktopModules/|/Providers/"
 doNotRedirect="SearchResults;"
 doNotRedirectRegex="[.]*(/logoff.aspx)|[.]*(/keepalive.aspx)|(/Providers/HtmlEditorProviders/FCK/)|(/DesktopModules/)|(Exif\.aspx\?)"
 pageExtensionUsage="never"
 parameterHandling="ordered"
ignoreFileTypesRegex="(?&lt;!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png$|\.css$|\.txt|\.xml|\.js$|(?&lt;!Exif\.aspx\?.+)\.jpg$|(\.asp\?)|\.html|\.htm|\.axd|\.swf\|\.flv|/ajaxpro/)"
 checkForDupUrls="true" forceLowerCase="false" redirectWrongCase="false" replaceSpaceWith="-" logCacheMessages="false" />

      </providers> 
You need the stuff in bold plus probably swf and flv, never tried without.
Thanks Bruce for your help and patience. A couple people who said exif worked, it turns out didn't have exif, and this may have not helped in trouble shooting this issue. But Bruce was always there for help and guidance.

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...4.7 and Ultramedia4.7 and Ultramedia


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.