axinom help tree
TRANSCRIPT
-
7/28/2019 Axinom Help Tree
1/14
-
-
Table Of Contents
WebDAV
IIS7
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
2/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
1.
1.
1.
2.
3.
2.
1.
2.
3.
2.
3.
1.
1.
2.
3.
4.
5.
AxCMS.net and WebDAVWebDAV installation
Create WebDAV virtual folder in IIS pointing to AxCMSWebDav directory of your CMS installation. Do not create WebDAV virtual
folder under existing CMS web sites or virtual folders.
Set following properties for this virtual folder:
Add wildcard application mapping to aspnet_isapi.dll
In IIS5, click Configuration - Mappings - Add. Set Executable path to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll and Extension to .*. Check All verbs and uncheck
Check that file exists
In IIS6, click Configuration - Mappings - Insert. Set Executable path to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll and uncheck Verify that file exists.
In IIS7, set your application pool to Classic .NET AppPool (or other application pool with classic managed pipeline mode), then
in Handler Mappings, Add Script Map, with Request path '*' and executable
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll. In Request Restriction, Make sure "Invoke handler..." is
unchecked and All verbs is selected on Verbs tab.
Set proper access permissions
Go to Directory Security - Authentication and access control - Edit
If you plan to use AxCMS.net authentication for WebDAV, check Enable anonymous access and uncheck all other
authentication methods. Make sure anonymous access settings have the correct account assigned and Allow IIS to control
password checked.
If you plan to use Active Directory authentication for WebDAV check Integrated Windows authentication and uncheck all other
authentication methods and Enable anonymous access.
If you use IIS6, enable WebDAV in the IIS Manager (node Web Service Extensions) - this is needed so IIS responds to queries
with complete set of webdav commands. On IIS7, this option is located in WebDAV Authoring Rules, and there Enable
WebDAV.
Go to AxCMSWebDav directory of your AxCMS.net installation and create web.config configuration file with at least following
contents (see an example web.config file below):
section
Put connection string to your AxCMS.net database here. Use the same value as in AxCMSWeb web.config.
Put URL to WebDAV virtual folder you created. URL should not end with / and should not be localhost
Since AxCMS.net 8.0, you should use another property:
Then you can use WebDav with any host header.
Put full path to AxCMSweb folder. Use the same value as in AxCMSWeb web.config.
Put the physical path to the AxCMS.net-installation directory. Use the same value as in AxCMSWeb web.config.
Put the full virtual path to the AxCMS.net-application (if any). Use the same value as in AxCMSWeb web.config.
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
3/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
2.
1.
2.
4.
5.
6.
1.
2.
3.
4.
5.
6.
7.
8.
1.
2.
3.
section
If you plan to use AxCMS.net authentication for WebDAV, add following:
Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
4/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
4.
5.
6.
7.
1.
2.
3.
4.
5.
6.
Don't forget you have to login as AxCMS\, not just as .
Do not rely on error messages returned by Windows Explorer or "net use" command. They are always misleading.
Again, see the point 2.
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.
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.
Known limitations of WebDAV clients
WebDAV cannot be run as a separate website. There are problems with interpreting separate WebDAV websites by Windows
Explorer.
When WebDAV virtual folder is located under the site other than Default Web Site, it will not open from the same computer.
This is the problem of Windows Explorer.
Categories containing any of these symbols - \ / : * ? " < > |- prohibited file name symbols in Windows, will not display and
function correctly.
Windows Vista has problems opening Page shortcuts from WebDAV folder. You can map your WebDAV folder as network
drive as a workaround for this bug.
When deleting file or folder, even if error occurred and the item is not deleted, Windows Explorer removes it from the list. After
refresh it shows the item again, but doesn't allow any actions with it until the folder structure is completely refreshed.
These applications are known to have problems working with WebDAV in AxCMS.net:
PhotoShop
AutoCAD
Web.Config Example
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
5/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
6/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
requestEncoding="utf-8"
responseEncoding="utf-8"
/>
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
-
7/28/2019 Axinom Help Tree
7/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
Configuring AxCMSWebDav on IIS 7.xInstalling WebDAV 7.5 for IIS
Installing for IIS 7.0
Installing for IIS 7.5
Configuring AxCMSWebDAV
AxCMSWebDAV Files
web.config
IIS Application
WebDAV in a productive environment
ISAPI application mapping
Enabling WebDAV
Testing WebDAV installation
Accessing WebDAV folder
Installing WebDAV 7.5for IISInstalling for IIS 7.0
IIS 7.0 users (Windows Vista, Windows Server 2008) need to install WebDAV package additionally.
There are two separate downloadable packages for the new WebDAV extension module; you need to download the appropriate
package for your version of Windows:
32-bit Installation Package:
WebDAV 7.5 for IIS 7.0 (x86)
64-bit Installation Package:
WebDAV 7.5 for IIS 7.0 (x64)
You must run the installation package as an administrator.
For additional installation help please proceed to the official IIS 7guide: http://learn.iis.net/page.aspx/350/installing-and-configuring-
webdav-on-iis-70/
Installing for IIS 7.5
IIS 7.5 users (Windows 7, Windows Server 2008 (R2)) need to add WebDAV from Server Manager.
Go to Start - Server Manager, scroll down to Web Server (IIS) role and check whether you have WebDAV Publishing installed or
not. Otherwise click Add Role Services button.
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
8/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
In the appeared Role Services window add WebDAV Publishing
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
9/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
Configuring AxCMSWebDAV
AxCMSWebDav files
Ensure that you have AxCMSWebDav package under your AxCMS_PremiumSample folder
web.config
Under your AxCMSWebDav folder you should create web.config file. Here is example of working web.configfor 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
with
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
10/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
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
-
7/28/2019 Axinom Help Tree
11/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
1.
2.
WebDAV in a productive environment
In the productive environment you normally cannot create a virtual folder directly. You have to create a virtual site first.
Unfortunately you cannot place WebDAV virtual folder under the CMS virtual site. Windows Explorer seems to connect and to
authenticate itself to the host part of a WebDAV URL. The Forms authentication of a CMS web application will confuse it.
if you need a whole Web Site for your WebDAV environment do next:
CreateWeb Site pointing to some location e.g. %SystemDrive%\inetpub\wwwroot
Under your Web Site create WebDAV Application pointing to C:\Projects\AxCMS_PremiumSample\AxCMSwebDAV
ISAPI application mapping
Go to Handler Mappings under your AxCMSWebDav application and add Wildcard Script Map with Request path "*" and
Executable "%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" for 64 bit systems or
"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" for 32 bit systems
Enabling WebDAV
Under Web Site where you created AxCMSWebDav application enable WebDAV Authoring Rules
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
12/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
Testing WebDAV Installation
To be sure you configured WebDAV correctly, try to open it in your browser. Login with user: AxCMS\axinom, password: axinom
(case sensitive). You should get XML like on picture:
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
13/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
Accessing WebDAV folder
You should access WebDAV from client machine. You could get authorization error if you try to access WebDAV from the server
itself.
Go to your Internet Explorer browser. Expand File menu end choose Open. In the appeared window type the url of your WebDAV
(http://PCname/AxCMSWebDav) and tick Open As Web Folder.
Login with (login credential is case sensitive)
User: AxCMS\axinom
Password: axinom
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7
-
7/28/2019 Axinom Help Tree
14/14
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV
After you should get opened web folder like on picture
If you are expecting problems with logging thenrefer help form Microsoft Knowledge Base:
http://support.microsoft.com/default.aspx/kb/888123
AxCMS.net Help & Support Center > Installation & Configuration > Configuration > WebDAV > IIS7