Archive | Webdav RSS feed for this section

Increase upload size Webdav/iiS

20 May

Open IIS 7 SnapIn
Select the website you want enable to accept large file uploads.
In the main window double click ‘Request filtering’
once the window is opened you may see on top a list of tabs eg: file name extensions, rules, hidden segments and so on…
regardless the tab you select, in the main window rightclick and select “Edit Feature Settings” and modify the “Maximum allowed content length (bytes)”

Now you can upload files larger than 30 MB ….

Advertisements

IIS 7 SSL Cert – Webdav etc

28 Jan

INSTALLING AN SSL CERTIFICATE IN MICROSOFT IIS 7

After you request the certificate in our online application and it’s ready for installation, you mustdownload the files we provide.

Once you download the files, install the intermediate certificate to your Microsoft® IIS 7 server. You also can download the intermediate certificate from the repository.

Then, to install the primary SSL certificate, you must complete the pending request, and then bind the certificate to your website.

To Install an Intermediate Certificate in Microsoft IIS 7

  1. Click Start, and then click Run….
  2. Type mmc, and then click OK. The Microsoft Management Console (Console) window opens.
  3. In the Console1 window, click the File menu, and then select Add/Remove Snap-in.
  4. In the Add or Remove Snap-in window, select Certificates, and then click Add.
  5. In the Certificates snap-in window, select Computer Account, and then click Next.
  6. In the Select Computer window, select Local Computer, and then click Finish.
  7. In the Add or Remove Snap-in window, click OK.
  8. In the Console1 window, click + to expand the folder.
  9. Right-click Intermediate Certification Authorities, mouse-over All Tasks, and then clickImport.
  10. In the Certificate Import Wizard window, click Next.
  11. Click Browse to find the intermediate certificate file.
  12. In the Open window, change the file extension filter to PKCS #7 Certificates (*.spc;*.p7b), select the *_iis_intermediates.p7b file, and then click Open.

    Do not install your Leaf Certificate in this area. Doing so removes your certificate from the list, and you must reinstall to correct the problem.

  13. In the Certificate Import Wizard window, click Next.
  14. Select Place all certificates in the following store, and then click Browse.
  15. In the Select Certificate Store window, select Intermediate Certification Authorities, and then click OK.
  16. In the Certificate Import Wizard window, click Next.
  17. Click Finish.
  18. Click OK.
  19. Close the Console 1 window, and then click No to remove the console settings.

To Install an SSL Certificate in Microsoft IIS 7

    1. Click Start, mouse-over Administrative Tools, and then click Internet Services Manager.
    2. In the Internet Information Services (IIS) Manager window, select your server.
    3. Scroll to the bottom, and then double-click Server Certificates.
    4. From the Actions panel on the right, click Complete Certificate Request….
    5. To locate your certificate file, click .
    6. In the Open window, select *.* as your file name extension, select your certificate (it might be saved as a .txt, .cer, or .crt), and then click Open.
    7. In the Complete Certificate Request window, enter a Friendly name for the certificate file, and then click OK.

For Wildcard SSL certificates make sure your Friendly Name to matches your Common Name (i.e. *.coolexample.com).

  1. In the Internet Information Services (IIS) Manager window, select the name of the server where you installed the certificate.
  2. Click + beside Sites, select the site to secure with the SSL certificate.
  3. In the Actions panel on the right, click Bindings….
  4. Click Add….
  5. In the Add Site Binding window:
    • For Type, select https.
    • For IP address, select All Unassigned, or the IP address of the site.
    • For Port, type 443.
    • For SSL Certificate, select the SSL certificate you just installed, and then click OK.
  6. Close the Site Bindings window.
  7. Close the Internet Information Services (IIS) Manager window. Your SSL certificate installation is complete.

Visit your website at https://http://www.coolexample.com (replacing coolexample.com with your domain name) to verify the installation. If you have problems, see Test your SSL’s configurationto help diagnose issues.

IIS Setup for Webdav Nav

28 Jan

These instructions have been tested on IIS 7 and Windows 2008. To enable WebDAV sharing through your server follow these steps:

  • Select your “Site” from the list on the left of sites hosted on your server.
  • Add a WebDAV Authoring rule for the user account you want to use to connect with

    IIS WebDAV Authoring rule

  • Select the Authentication icon from the main list of sections IIS authentication option
  • Enable either Basic or Windows Authentication, and disable all the other options
  • Make sure Anonymous Authentication is disabled as this will prevent WebDAV Nav from correctly authenticating
  • Launch WebDAV Nav and enter your connection details as setup above

WINDOWS PERMISSIONS

When attempting to block access to certain folders for groups of users you need to make sure that the upper level folders have the “Read Extended Attributes” permission added.

DOWNLOAD FOLDER SUPPORT

In order to support the ability to download whole folders when using IIS you need to make a configuration change to your IIS setup

  • Launch the IIS management console.
  • Locate your Site in the left menu
  • Double click on the WebDAV Authoring option in the middle panel
  • Click on WebDAV Settings in the menu panel on the right
  • Look in the new list for “Allow Property Queries with Infinite Depth” and set that option to True

If you need help installing IIS on your machine you may find these instructions useful

http://learn.iis.net/page.aspx/28/installing-iis-7-on-windows-vista-and-windows-7

http://learn.iis.net/page.aspx/350/installing-and-configuring-webdav-on-iis-7/

COMMON PROBLEMS WITH IIS

  • You receive a 404 “not found” error when downloading files like .mp4, or .ibooks. This is usually due to a missing mime type configuration for the file extension. Simply add an entry for the file type
  • An unknown error or 404.13 error during the upload of a large file (> 30 MB). This is due to a default size limit in IIS. Add the follow section to your site config.
    <system.webServer>
     <security>
       <requestFiltering>
           <requestLimits maxAllowedContentLength="524288000"/>
       </requestFiltering>
     </security>
    </system.webServer>