Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #3454, #3457 and #3460 #3472

Merged
merged 2 commits into from
Jan 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 35 additions & 80 deletions DNN Platform/Website/App_GlobalResources/GlobalResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -765,58 +765,33 @@ Thank you,
</data>
<data name="404.Error" xml:space="preserve">
<value>&lt;div style="height: 100%; width: 90%;"&gt;
&lt;p style="color:red; font-weight:bold;"&gt;Domain Name {0} Does Not Exist In The Database&lt;/p&gt;
&lt;p&gt;DNN supports multiple websites from a single database/codebase. It accomplishes
this by converting the URL of the client browser Request to a valid PortalID in
the Portals database table. The following steps describe the process:&lt;/p&gt;
&lt;p style="color:red; font-weight:bold;"&gt;Domain Name {0} Does Not Exist In The Database&lt;/p&gt;
&lt;p&gt;This system supports multiple websites from a single database/codebase. It accomplishes this by converting the URL of the client browser request to a valid Portal row in the Portals database table. The following steps describe the process:&lt;/p&gt;
&lt;ol style="text-align: left; list-style-type: decimal; list-style-position: outside;"&gt;
&lt;li&gt;&lt;strong&gt;Web Server Processing&lt;/strong&gt;&lt;br /&gt;
&lt;ul style="list-style-type: disc;"&gt;
&lt;li&gt;When a web server receives a Request from a client browser, it compares the file
name extension on the target URL resource to its Application Extension Mappings
defined in IIS.&lt;/li&gt;
&lt;li&gt;Based on the corresponding match, IIS then sends the Request to the defined Executable
Path ( aspnet_asapi.dll in the case of ASP.NET Requests ).&lt;/li&gt;
&lt;li&gt;The aspnet_isapi.dll engine processes the Request in an ordered series of events
beginning with Application_BeginRequest.&lt;/li&gt;
&lt;li&gt;When a web server receives a request from a client browser, it compares the file name extension on the target URL resource to its Application Extension Mappings defined in IIS.&lt;/li&gt;
&lt;li&gt;Based on the corresponding match, IIS then sends the request to the defined Executable Path (aspnet_asapi.dll in the case of ASP.NET requests).&lt;/li&gt;
&lt;li&gt;The aspnet_isapi.dll engine processes the request in an ordered series of events beginning with Application_BeginRequest.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;HttpModule.URLRewrite OnBeginRequest ( UrlRewriteModule.vb )&lt;/strong&gt;&lt;br /&gt;
&lt;li&gt;&lt;strong&gt;HttpModule.URLRewrite OnBeginRequest (UrlRewriteModule.vb)&lt;/strong&gt;&lt;br /&gt;
&lt;ul style="list-style-type: disc;"&gt;
&lt;li&gt;The Request URL is parsed based on the "/" character&lt;/li&gt;
&lt;li&gt;A Domain Name is constructed using each of the relevant parsed URL segments.
&lt;br /&gt;
&lt;br /&gt;
Examples:
&lt;br /&gt;
&lt;li&gt;The request URL is parsed based on the "/" character&lt;/li&gt;
&lt;li&gt;A domain name is constructed using each of the relevant parsed URL segments.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;

URL: http://www.domain.com/default.aspx = Domain Name: www.domain.com&lt;br /&gt;
URL: http://209.75.24.131/default.aspx = Domain Name: 209.75.24.131&lt;br /&gt;
URL: http://localhost/DotNetNuke/default.aspx = Domain Name: localhost/DotNetNuke&lt;br /&gt;
URL: http://www.domain.com/virtualdirectory/default.aspx = Domain Name: www.domain.com/virtualdirectory&lt;br /&gt;
URL: http://www.domain.com/directory/default.aspx = Domain Name: www.domain.com/directory&lt;br /&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Using the Domain Name, the application queries the database ( Portals table - PortalAlias
field ) to locate a matching record.
&lt;br /&gt;
&lt;br /&gt;
Note: If there are multiple URLs which correspond to the same website then the website alias
field must contain each valid Domain Name in a comma separated list.
&lt;li&gt;Using the domain name, the application queries the database ( PortalAlias table - column HTTTPAlias) to locate a matching record.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:
&lt;br /&gt;
&lt;br /&gt;
URL: http://localhost/DotNetNuke/default.aspx&lt;br /&gt;
URL: http://MACHINENAME/DotNetNuke/default.aspx&lt;br /&gt;
URL: http://209.32.134.65/DotNetNuke/default.aspx&lt;br /&gt;
PortalAlias: localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke
&lt;br /&gt;
&lt;br /&gt;
Note: If you are installing the application to a remote server you must modify the
PortalAlias field value for the default record in the Portals table according to
the rules defined above. &lt;/li&gt;
Note: If you are installing the application to a remote server you must modify the HTTPAlias field value in table PortalAlias for the record with proper PortalID, according to the rules defined above. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
Expand All @@ -826,35 +801,7 @@ Thank you,
<value>{0}</value>
</data>
<data name="403_3.Error" xml:space="preserve">
<value>&lt;div style="height: 100%; width: 90%;"&gt;
&lt;h3&gt;DNN Configuration Error&lt;/h3&gt;
&lt;p&gt;{0}&lt;/p&gt;
&lt;p&gt;Your DNN installation appears to have a security settings problem (most likely
permissions). DNN has extensive file upload capabilities for content, modules,
and themes. These features require custom security settings so that the application
is able to create and remove files in your website.&lt;/p&gt;
&lt;p&gt;Using Windows Explorer, browse to the root folder of the website ( C:\DotNetNuke
by default ). Right-click the folder and select Sharing and Security from the popup
menu ( please note that if you are using Windows XP you may need to &lt;a href="http://support.microsoft.com/default.aspx/kb/307874"
target="_blank"&gt;Disable Simple File Sharing&lt;/a&gt; before these options are displayed
). Select the Security tab. Add the appropriate User Account and set the Permissions.&lt;/p&gt;
&lt;ul style="text-align: left; list-style-type: none; list-style-position: outside;"&gt;
&lt;li&gt;&lt;strong&gt;If using Windows 2000 - IIS5&lt;/strong&gt;
&lt;br/&gt;
&lt;ol style="list-style-type: circle;"&gt;
&lt;li&gt;the [SERVER]\ASPNET User Account must have Read, Write, and Change Control of the virtual root of your website.&lt;/li&gt;
&lt;/ol&gt;
&lt;br/&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;If using Windows 2003 - IIS6 or Vista/Windows 2008 - IIS7&lt;/strong&gt;
&lt;br/&gt;
&lt;ol style="list-style-type: circle;"&gt;
&lt;li&gt;the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Image showing the security settings for the root folder of the website must be set to Read, Write and Change Control for the ASPNET or NT AUTHORITY/NETWORK SERVICE accounts." src="images/403-3.gif"&gt;&lt;/p&gt;
&lt;/div&gt;</value>
<value>&lt;div style="height: 100%; width: 90%;"&gt; &lt;h3&gt;DNN Configuration Error&lt;/h3&gt; &lt;p&gt;{0}&lt;/p&gt; &lt;p&gt;Your DNN installation appears to have a security settings problem (most likely permissions). DNN has extensive file upload capabilities for content, modules, and themes. These features require custom security settings so that the application is able to create and remove files in your website.&lt;/p&gt; &lt;p&gt;On your webserver, browse to the root folder of the website (C:\DotNetNuke by default) using Windows Explorer. Right-click the folder and select "Sharing and Security" from the popup menu. Select tab "Security". Add the appropriate user account and set proper permissions for the ASP.Net user, specified in advanced setting of the IIS application pool that is hosting your website.&lt;/p&gt; &lt;ul style="text-align: left; list-style-type: none; list-style-position: outside;"&gt; &lt;li&gt;&lt;strong&gt;If using a named account like builtin "NT AUTHORITY\NETWORK SERVICE"&lt;/strong&gt;&lt;br/&gt; &lt;ol style="list-style-type: circle;"&gt; &lt;li&gt;The user Account must be granted Read, Write, Read &amp; Execute, and Modify permission.&lt;/li&gt; &lt;/ol&gt; &lt;br/&gt; &lt;/li&gt; &lt;li&gt;&lt;strong&gt;If using "ApplicationPoolIdentity" (recommended)&lt;/strong&gt;&lt;br/&gt; &lt;ol style="list-style-type: circle;"&gt; &lt;li&gt;User account IIS AppPool\[AppPool Name] (replace [AppPool Name] by the real name of the IIS application pool) must be granted Read, Write, Read &amp; Execute, and Modify permission.&lt;/li&gt; &lt;/ol&gt; &lt;/li&gt; &lt;/ul&gt; &lt;p&gt;&lt;img alt="Image showing the security settings for the root folder of the website must be set to Read, Write and Change Control for a named account." src="images/403-3.gif"&gt;&lt;/p&gt; &lt;/div&gt;</value>
</data>
<data name="Error.Text" xml:space="preserve">
<value>An error has occurred.</value>
Expand Down Expand Up @@ -914,20 +861,28 @@ Operation Completed: [Custom:3]
<value>Authentication</value>
</data>
<data name="License.Text" xml:space="preserve">
<value>&lt;p&gt;DotNetNuke&amp;reg; - https://www.dnnsoftware.com&lt;br /&gt;
Copyright (c) 2002-2018&lt;br/&gt;
by DotNetNuke Corporation&lt;/p&gt;
&lt;p&gt;Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
to permit persons to whom the Software is furnished to do so, subject to the following conditions:&lt;/p&gt;
&lt;p&gt;The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.&lt;/p&gt;
&lt;p&gt;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.&lt;/p&gt;</value>
<value>&lt;h2&gt;The MIT License (MIT)&lt;/h2&gt;

&lt;h3&gt;Copyright (c) .NET Foundation and Contributors&lt;/h3&gt;
&lt;p&gt;All Rights Reserved&lt;/p&gt;

&lt;p&gt;Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:&lt;/p&gt;

&lt;p&gt;The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.&lt;/p&gt;

&lt;p&gt;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.&lt;/p&gt;</value>
</data>
<data name="SkinLoadError.Text" xml:space="preserve">
<value>Could Not Load Theme: {0}, Error: {1}&lt;br/&gt;</value>
Expand Down