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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditor.html extension error ... SOLVED yippee.html extension error ... SOLVED yippee
Previous
 
Next
New Post
10/6/2006 2:25 PM
 

Well, this started out as a question and as I wrote it up, I solved it!!!  so I will share.

Environment:

  • DNN: 4.3.4
  • FCKEditor: 1.00.06
  • IIS 6 however '.html' RUNS AS AN ASP.NET FILE

I have set up ISS to run .html files as though they were .aspx files.  This is better for most clients as it meant they could keep their old page names (SEO implications) and the general usability of .html is higher then .aspx.

BUT... FCKeditor uses template files named "fckeditor.html" etc. which caused a 404 error.  Since these run .NET, DNN kicks in and looks for the TabID of the page.  Since there isn't one it causes the 404 error.

Solution:

  • Open the IIS properties for folder: ~/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKeditor
  • Set the "Execute Permissions:" to "None"

Now the files won't trigger the DNN rewriter and the editor works as planned. 

It was luck that the image browser template uses the extension .htm so the same problem doesn't exist for those features.  I humbly request this stays this way for future releases.  Better would be if one could set the extension of the templates to something completely neutral.


 
New Post
10/6/2006 4:00 PM
 
Interesting, thanks for sharing. My legacy site has .html pages running as ASP to deliver some ad code, etc.  We have to upgrade to DNN, and your post probably saved an afternoon of dull, glazed staring at the screen trying to figure this issue out.


 
New Post
10/6/2006 5:36 PM
 

In that case, you may wish to consider ISAPIrewrite  (http://www.isapirewrite.com - the IIS equivalent to mod_rewrite) as there will be other issues.  ISAPIrewrite runs before DNN so you can hijack URIs.

For instance, Google site verification requires either a meta tag or file with a code in it is always accessible on the server.  IMHO, the meta tag route is messy so the file is the way I go.  Google requires a .html extension so I need the rule:

RewriteRule /google(.*)html /google$1htm [I,L] 

The physical file is a .htm but Google doesn’t know the better. 


I should point out the .htm extension is not run as a .NET file.


LL
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditor.html extension error ... SOLVED yippee.html extension error ... SOLVED yippee


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