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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DNN 7.3 serving static contentDNN 7.3 serving static content
Previous
 
Next
New Post
12/1/2014 9:55 AM
 
@Sebastian - Thank you. I tried both things you suggested with no results. I moved index.html to the very top. Restarted IIS and the website and I still got the 404 error page when going to mydomain.com/s/ . I also tried converting the subfolder /s/ to an application. When I visited the page I got this. "could not load file or assembly 'donetnuke.httpmodules' or one of its dependencies. The system cannot find file specified. Should I try something else? I am running Win 2012 R2(IIS 8.5). Thank you
 
New Post
12/1/2014 3:13 PM
 
If index.html is first default document and sits aside the DNN default.aspx, it should be executed instead of DNN.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/1/2014 5:15 PM
 

Redirect rule to the rescue. I just did this myself for a page .

<rule name="holiday" patternSyntax="ExactMatch" stopProcessing="true">

<match url="holiday" />

<action type="Redirect" url="holiday/index.html" />

</rule>

*Requires the IIS rewrite module. You may be able to do this directly in IIS, or by adding the rule in your web.config file, <rewrite><rules>...</rules></rewrite>

 
New Post
12/1/2014 5:17 PM
 

To add more clarity, I have the static file in a folder off the root of the site called "holiday". Hope that helps

 
New Post
4/10/2015 12:58 PM
 
@erik hinds, I tried this but it didn't work. Are you putting rewrite rule in main web.config rule in dnn directory?
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...DNN 7.3 serving static contentDNN 7.3 serving static content


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