Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
net Help & Support Center > Installation & Configuration > Configuration > WebDAV
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
2. <system.web> section 1. If you plan to use AxCMS.net authentication for WebDAV, add following: <authentication mode="None"></authentication 2. If you plan to use Active Directory authentication for WebDAV, add following: <authentication mode="Windows"></authentication> 4. If you plan to use Active Directory authentication for WebDAV, set AxCMSWeb to use active directory and import active directory users to AxCMS.net users. 5. Make sure users who may access WebDAV have a role to pass WebDavAccess checkpoint. Make sure users have appropriate rights and roles for other WebDAV checkpoints. 6. Open Windows Explorer and try to open your WebDAV installation using UNC path, like \\webdavserver\webdavpath\. If you are using Active Directory authentication for WebDAV and logged in into the same active directory, no password will be asked. If you are not logged into active directory, enter your active directory username like DOMAIN\username and password. If you are using AxCMS.net authentication for WebDAV, enter AxCMS\username and password.
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
4. Don't forget you have to login as AxCMS\<username>, not just as <username>. 5. Do not rely on error messages returned by Windows Explorer or "net use" command. They are always misleading. Again, see the point 2. 6. Make sure WebClient service is running on your client computer - it is required for Windows explorer to connect to webdav. For Windows XP x64 and Windows 2003 you may need to install the Web Extender Client component - see this KB article. 7. Try to restart client computer to restart the web client service and its connection to Windows Explorer. Try to open another webdav location to let Windows Explorer know about web client service.
Web.Config Example
<?xml version="1.0" encoding="utf-8" ?> <configuration>
</configSections>
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
<appSettings> <add key="DBCONNSTRING" value="SERVER=(local);DATABASE=AxCMS_MyDB;UID=MyUsername;PWD=MyPassword" /> <add key="DAVApplicationVirtualPath" value="/AxCMSwebDAV" /> <add key="MediaServerRootDir" value="C:\projects\AxCMS\AxCMSweb" /> <add key="CMSInstanceName" value="Entwicklungs-CMS" /> <add key="EncryptPasswordsMS" value="0" /> <add key="IsAxCMS" value="1"/> <add key="CMSApplicationHostName" value="http://localhost" /> <add key="CMSSystemRootDir" value="C:\projects\AxCMS" /> <add key="CMSApplicationVirtualPath" value="/AxCMSweb" /> <add key="CmsExtension" value=".AxCMS" /> <add key="PublishDirectory" value="/publish" /> </appSettings>
<system.web> <compilation defaultLanguage="c#" debug="true" /> <customErrors mode="Off" /> <authentication mode="None" />
<globalization
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
</configuration>
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
Configuring AxCMSWebDAV
AxCMSWebDAV Files web.config IIS Application WebDAV in a productive environment ISAPI application mapping Enabling WebDAV Testing WebDAV installation Accessing WebDAV folder
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
web.config
Under your AxCMSWebDav folder you should create web.config file. Here is example of working web.config for localhost (DEV) environment. If you use this sample config file, don't forget to take a look at its content. Maybe you should change Database connection string or application URLs if you have non-standard AxCMS.net installations. In the end of config file there is ISAPI module mapped, if your system is 32 bit you should replace <add name="Script" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64 \v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0, bitness64" /> with <add name="Script" path="*" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework \v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0, bitness32" />
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
IIS Application
Go to Internet Information Services (IIS) manager, right click on Default Web Site and create application like on pictures below: Set application pool to Classic .NET AppPool (or other application pool with classic managed pipeline mode).
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
Enabling WebDAV
Under Web Site where you created AxCMSWebDav application enable WebDAV Authoring Rules
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
If you are expecting problems with logging then refer help form Microsoft Knowledge Base: http://support.microsoft.com/default.aspx/kb/888123