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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...js undefinedjs undefined
Previous
 
Next
New Post
9/11/2012 9:47 AM
 

I am getting all kinds of errors with my new site.  It cannot find any JS function.  Sys is undefined and dnn is undefined.  The only thing I did unique was; I have dnn placed under a folder and I did some url remapping, so the site appears at the root of the website.  It is a new site, so I can give url, nothing there yet.  I have a web.config at the root that does url rewriting and also modified the one within the dnn directory.


A1suretybonds .com


DNN Directory:

<rewrite>
      <rules>
        <clear />
      </rules>

      <outboundRules>
        <rule name="Outgoing - URL paths" preCondition="ASPX Pages Only">
          <match filterByTags="A" pattern="^(?:dotnetnuke|(.*//[_a-zA-Z0-9-\.]*)?/dotnetnuke)(.*)" />
          <action type="Rewrite" value="{R:1}{R:2}" />
        </rule>

        <rule name="response_location URL">
          <match serverVariable="RESPONSE_LOCATION" pattern="^(?:dotnetnuke|(.*//[_a-zA-Z0-9-\.]*)?/dotnetnuke)(.*)" />
          <action type="Rewrite" value="{R:1}{R:2}" />
        </rule>

        <rule name="response_location querystring">
          <match serverVariable="RESPONSE_LOCATION" pattern="(.*)%2fdotnetnuke(.*)" />
          <action type="Rewrite" value="{R:1}{R:2}" />
        </rule>

        <preConditions>
          <preCondition name="ASPX Pages Only">
            <add input="{SCRIPT_NAME}" pattern="\.*" />
          </preCondition>
        </preConditions>
      </outboundRules>

    </rewrite>

web.config at root:

<configuration>
  <!-- The system.webServer section is required for IIS7 compatability It is ignored by IIS6-->
  <system.webServer>
    <rewrite>
      <rules>
       

        <rule name="Rewrite to DotNetNuke Root" stopProcessing="true">
          <match url="(.*)" />
          <conditions logicalGrouping="MatchAll">
            <add input="{HTTP_HOST}" pattern="^(www\.)?a1suretybonds.com$" />
            <!--<add input="{PATH_INFO}" pattern="^/dotnetnuke/" negate="true" />-->
            <add input="{PATH_INFO}" pattern="^/secure/" negate="true" />
          </conditions>
          <action type="Rewrite" url="/dotnetnuke/{R:1}" />
        </rule>

        <rule name="Rewrite to Services Root" stopProcessing="true">
          <match url="(.*)" />
          <conditions logicalGrouping="MatchAll">
            <add input="{HTTP_HOST}" pattern="^services.mydomain.com$" />
            <add input="{HTTP_HOST}" pattern="^/Services/" negate="true" />
            <add input="{REQUEST_URI}" pattern="^/(contact|presentation|secure/application)" negate="true" />
          </conditions>
          <action type="Rewrite" url="/Services/{R:1}" />
        </rule>

        <rule name="Rewrite to otherTLD Root" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^(www\.)?otherTLD.com$" />
          </conditions>
          <action type="Rewrite" url="/OtherTLDFolder/{R:1}" />
        </rule>

        <rule name="Rewrite to subdomain.otherTLD.com" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^subdomain.otherTLD.com$" />
          </conditions>
          <action type="Rewrite" url="OtherTLDFolder/subdomain/{R:1}" />
        </rule>

      </rules>
    </rewrite>
  </system.webServer>
</configuration>

 
New Post
9/11/2012 11:24 AM
 
I would expect the issue to be caused by your website not being the root.
Why don't you install DNN in the root of your IIS website?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/11/2012 1:31 PM
 

I need to have another subweb.  I have another web applications running on the same url and they have too.  So, this was the only solution I found, which seems to still not work.  My subwebs are virtuals and have iis application installed, but still seemed error, because they want dnn references

 
New Post
9/11/2012 3:17 PM
 
if you need to install DNN in a subfolder, make sure to use a different physical location, specified as application, and map it using a virtual folder.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...js undefinedjs undefined


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