# Doc AR archives

# Install docunil8

Mise en place des services ftpdoc, davdoc et webdoc de docunil

**Table des matières**

[<span style="mso-no-proof: yes;">Configuration de la machine</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">1</span>](#_Toc364337909)

[Machine<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">1</span>](#_Toc364337910)

[Ajout du role de serveur web<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337911)

[Install du FrameWork .Net 3.5 sp1<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337912)

[Firewall interne<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337913)

[Installation de SQL 2005 Standard Edition<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337914)

[<span style="mso-no-proof: yes;">Utilisateur filemanlogin</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">2</span>](#_Toc364337915)

[<span style="mso-no-proof: yes;">Création de la base FILEMAN</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">3</span>](#_Toc364337916)

[<span style="mso-no-proof: yes;">Copie des tables existantes</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337917)

[Configuration IIS 7<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">5</span>](#_Toc364337918)

[<span style="mso-no-proof: yes;">Installation de FTP pour IIs7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337919)

[<span style="mso-no-proof: yes;">Installation de Webdav pour IIS 7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337920)

[<span style="mso-no-proof: yes;">User webiis7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337921)

[<span style="mso-no-proof: yes;">Importation du certificat</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337922)

[<span style="mso-no-proof: yes;">Centraliser la configuration du serveur web</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337923)

[<span style="mso-no-proof: yes;">IIS7: ajout des applications pool davdoc8 et webdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337924)

[<span style="mso-no-proof: yes;">IIS7: ajout du site davdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337925)

[<span style="mso-no-proof: yes;">Site davdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337926)

[<span style="mso-no-proof: yes;">Site davdoc8 (http -&gt; https)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337927)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 – échec on ne le met pas en route</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337928)

[<span style="mso-no-proof: yes;">Dossier de l'application Fileman</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337929)

[<span style="mso-no-proof: yes;">Site webdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337930)

[<span style="mso-no-proof: yes;">Site webdoc8 (http -&gt; https)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337931)

[<span style="mso-no-proof: yes;">IIS7: ajout du site ftpdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337932)

[<span style="mso-no-proof: yes;">Site ftpdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337933)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">11</span>](#_Toc364337934)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">12</span>](#_Toc364337935)

[<span style="mso-no-proof: yes;">HTTPCommander: modification des sources</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">12</span>](#_Toc364337936)

[<span style="mso-no-proof: yes;">Documentation IIS7: fichiers de configuration</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">13</span>](#_Toc364337937)

[<span style="mso-no-proof: yes;">Activer les Custom Properties (06.03.2013)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">14</span>](#_Toc364337938)

[Enabling Custom Properties Using IIS Manager<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">14</span>](#_Toc364337939)

[<span style="mso-no-proof: yes;">Nouvel essai d’install de fileman sur win2008 (mars 2013)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">16</span>](#_Toc364337940)

[<span style="font-family: 'Helvetica',sans-serif; letter-spacing: -.75pt; mso-no-proof: yes;">Running classic ASP on IIS 7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">16</span>](#_Toc364337941)

# <a name="_Toc364337909"></a>Configuration de la machine

## <a name="_Toc254700370"></a><a name="_Toc364337910"></a><span style="mso-bookmark: _Toc254700370;">Machine</span>

<span style="mso-bookmark: _Toc254700370;">Machine virtuelle VmWare:</span>

<span style="mso-bookmark: _Toc254700370;">Nom:</span>

<span style="mso-bookmark: _Toc254700370;">docunil8.unil.ch, davdoc8.unil.ch: <span style="mso-tab-count: 1;"> </span>130.223.27.147</span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">webdoc8.unil.ch :<span style="mso-tab-count: 4;"> </span>130.223.27.179</span></span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">OS:</span></span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Windows Server 2008</span></span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337911"></a>Ajout du role de serveur web</span>

<span style="mso-bookmark: _Toc254700370;">Dans "Initial Configuration Tasks"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Cliquer sur "Add roles"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Sélectionner "Web Server (IIS)</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 2;"> </span>Add Required Features</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Next</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Sélectionner tous les "Role Services"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 2;"> </span>Chaque fois accepter " Add Required Features "</span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337912"></a>Install du FrameWork .Net 3.5 sp1</span>

<span style="mso-bookmark: _Toc254700370;">On le télécharge depuis le site de microsoft et installe</span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337913"></a>Firewall interne</span>

<span style="mso-bookmark: _Toc254700370;">Il n'est pas actif.</span>

## <a name="_Toc364337914"></a>Installation de SQL 2005 Standard Edition

Prendre SQL 2005 Standard Edition sur MSDNAA.

Installation:

Server components, tools, Books Online, and samples

Components to Install: tout selectionner

Sélectionner: Default instance

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Service Account: <span style="mso-tab-count: 1;"> </span>User a domain user account: AD\\gesu</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 3;"> </span></span>Start Services at the end of setup: sélectionner uniquement SQL Server

Authentication Mode: Windows Authentication Mode

Collation Sttings: French, Accent-sensitive

Installer SQL 2005 SP3

Dans les Services, démarre et mettre en automatique les services suivanzs:

<span style="mso-tab-count: 1;"> </span>SQL Server Agent

<span style="mso-tab-count: 1;"> </span>SQL Analysis Services

Démarrer SQL Server Surface Area Configuration tool

<span style="mso-tab-count: 1;"> </span>Add New Administrator

<span style="mso-tab-count: 1;"> </span><span style="mso-tab-count: 1;"> </span>SQL Server 2005 User Provisioning Tool

Donner tous les droits à Ad\\gesu

### <a name="_Toc364337915"></a>Utilisateur filemanlogin

On rechange le mode d'authentification du SQL Server et on met "SQL Server and Windows Authetication mode":

To change security authentication mode

1\. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.

2\. On the Security page, under Server authentication, select the new server authentication mode, and then click OK.

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">3. In the SQL Server Management Studio dialog box, click OK, to acknowledge the need to restart SQL Server.</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

On crée l'utilisateur "filemanlogin":

SQL Server Management Studio

Item Security

Bouton droit sur Logins -&gt; New Login

SQL Server authentication

Login name: filemanlogin

Password: c……..8

De-sélectionner "Enforce password policy"

### <a name="_Toc364337916"></a>Création de la base FILEMAN

On crée la base FILEMAN:

SQL Server Management Studio

Bouton droit sur Databases -&gt; New Database

Database Name: FILEMAN

Owner: filemanlogin

On créer les tables nécessaires pour Fileman:

SQL Server Management Studio (comme user fileman)

Avec le bouton "NewQuery", on exécute successivement les trois commande suivantes:

<span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">CREATE TABLE \[dbo\].\[Login\] (</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[ID\] \[int\] IDENTITY (1, 1) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[User\] \[nvarchar\] (250) NOT NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Pass\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupID\] \[smallint\] NOT NULL DEFAULT (2),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CrDate\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Info\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[UserRootFolder\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IsDisabled\] \[bit\] NULL DEFAULT (0),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[SortBy\] \[nvarchar\] (255) NULL DEFAULT ('type'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[History\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumLogins\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastTime\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastIP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastDir\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastPassChange\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Email\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[TotalBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[BandwidthThisMonth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[BandwidthLastReset\] \[smalldatetime\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[AccountExpires\] \[smalldatetime\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[UploadNotification\] \[bit\] NULL DEFAULT (0),</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsGroupAdmin\] \[bit\] NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">CREATE TABLE \[dbo\].\[Groups\] (</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[GroupID\] \[int\] IDENTITY (1, 1) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[GroupName\] \[nvarchar\] (50) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[Description\] \[nvarchar\] (255) NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsAdmin\] \[bit\] NOT NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsGroupDisabled\] \[bit\] NOT NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[SettingsMask\] \[nvarchar\] (100) NOT NULL DEFAULT ('11111111111111111111111111101111111001111111111111111111111111111111111111') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[RootFolder\] \[nvarchar\] (255) NULL DEFAULT ('c:\\temp\\%user%') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxRootFolderSize\] \[int\] NULL DEFAULT ( 5242880) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ForbiddenList\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MinPassLength\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[DefaultFolderStructure\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumUploadFields\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxPassAge\] \[smallint\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LoginMsg\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupCreated\] \[smalldatetime\] NULL DEFAULT (GetDate()) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CustomButtons\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[StartPage\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[AllowMapDrives\] \[bit\] NOT NULL DEFAULT (0)</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>CREATE TABLE \[dbo\].\[FMLog\] (</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Date\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[User\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[Description\] \[ntext\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[LastError\] \[nvarchar\] (255) NULL</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (25),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour que les 26 lettres de l'alphabète soit affichée dans les listes</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;">\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;">\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('English.dat'),</span>

<span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;">\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, attribs, moddate, ') ,</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour les colonnes affichées par défaut dans la liste des fichiers</span>

### <a name="_Toc364337917"></a>Copie des tables existantes

Pour copier les tables de docunil2k:

Se connecter sur docunil2k

Démarrer "Enterprise Manager" de "Microsoft Sql Server

Bouton droitsur la bas FILEMAN -&gt; All Tasks -&gt; Export Data

<span style="mso-tab-count: 1;"> </span>Data source

<span style="mso-tab-count: 2;"> </span>Microsoft OLE Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: (local)

<span style="mso-tab-count: 2;"> </span>Use Windows Authentication

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Choose a destination

<span style="mso-tab-count: 2;"> </span>Microsoft OLE Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: DOCUNIL8

<span style="mso-tab-count: 2;"> </span>Use SQL Server Authentication

<span style="mso-tab-count: 2;"> </span>Username: filemanlogin

<span style="mso-tab-count: 2;"> </span>Password: c……..8

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Copy table(s) and view(s) from the source databases

<span style="mso-tab-count: 1;"> </span>Select source Tables

<span style="mso-tab-count: 2;"> </span>Sélection les 3 tables de FILEMAN

<span style="mso-tab-count: 1;"> </span>Run immediatly

Après, il faut fermer l'acceés réseau sur docunil8

## <a name="_Toc364337918"></a>Configuration IIS 7

### <a name="_Toc364337919"></a>Installation de FTP pour IIs7

Désinstaller FTP 6: dans les Roles (Server Manager), il faut "Remove Role Services" pour "FTP Publishing Service" et "IIS 6 Management Compatibility".

Prendre FTP 7.5 pour IIS7 x86 ([ftp7\_x86intran\_75.msi](ftp://ftp7_x86_75.msi)) sur le site de microsoft et procéder à l'installation.

### <a name="_Toc364337920"></a>Installation de Webdav pour IIS 7

Prendre "Microsoft WebDAV 7.5 for IIS 7.0 (x86)" (webdav\_x86\_75.msi) sur le site de microsoft et procéder à l'installation.

Installation de "Update for WebDAV 7.5 for IIS 7.0 (KB976526) (x86)". On prend<span style="mso-spacerun: yes;"> </span>webdav\_x86\_kb976526.msp est on l'exécute.

### <a name="_Toc364337921"></a>User webiis7

On définit dans gestu un utilisateurs que l'on va utiliser sur le serveur IIS7.

Username:<span style="mso-spacerun: yes;"> </span><span style="font-family: 'Lucida Console';">webiis7</span>

### <a name="_Toc364337922"></a>Importation du certificat

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item "Server certificates"

<span style="mso-tab-count: 2;"> </span>Import: fichier webdoc.pfx

### <a name="_Toc364337923"></a>Centraliser la configuration du serveur web

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Feature Delegation

<span style="mso-tab-count: 2;"> </span>Mettre tout à "Read Only" si possible (ou Not Delegated)

On laisse .Net Roles et .Net Users à "Configuration Read/Write".

Avec cela tous les paramètres de configuration seront dans

C:\\Windows\\System32\\inetsrv\\config\\applicationHost.config

### <a name="_Toc364337924"></a>IIS7: ajout des applications pool davdoc8 et webdoc8

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Name: webdoc8 </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span>.Net Framework: V2.0</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span></span>Managed pipeline mode: Classic

<span style="mso-tab-count: 6;"> </span>(ces deux paramètres n'ont pas d'influence

<span style="mso-tab-count: 6;"> </span>sur la performance de fileman)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "webdoc8"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span>Name: davdoc8 (autre options par défaut)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "davdoc8"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

### <a name="_Toc364337925"></a>IIS7: ajout du site davdoc8

#### <a name="_Toc364337926"></a>Site davdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: \\\\docunil\\docs

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.147, 443

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

Item davdoc8

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: davdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Specified roles or user groups: Authenticated Users</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>Area IIS: double-clic sur Directory Browsing

<span style="mso-tab-count: 2;"> </span>Enable

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur WebDAV Authoring Rules

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Enable WebDAV</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Add Authoring Rule:</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Allow access to: All content

<span style="mso-tab-count: 3;"> </span>Allow access to this content to: Authenticated Users

<span style="mso-tab-count: 3;"> </span>Permissions: Read, Source, Write

WebDAV settings: Changer Require SSL access: true

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Output Caching

<span style="mso-tab-count: 2;"> </span>Edit Feature Settings:

<span style="mso-tab-count: 3;"> </span>Dé-activer "Enable cache" et "Enable kernel cache"

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur WebDAV Authoring Rules

<span style="mso-tab-count: 2;"> </span>Cliquer sur WebDAV

<span style="mso-tab-count: 3;"> </span>Allow Property Queries with infinite Depth: true

Changer le fichier inetsrv/config/applicationHost.config, ajouter maxAllowedContentLength:

&lt;location path="davdoc8"&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;security&gt;

…

<span style="mso-spacerun: yes;"> </span>&lt;requestFiltering&gt;

…

<span style="mso-spacerun: yes;"> </span>&lt;requestLimits maxAllowedContentLength="157286400"/&gt;

<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>&lt;/requestFiltering&gt;

<span style="mso-spacerun: yes;"> </span>&lt;/security&gt;

J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) des virtual direcvtory IIS 7.5 davdoc8 et davdoc8-http-https, comme ça les gens ne reçoivent plus l’erreur 404 on essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.

Autres mime type ajoutés:

.odt <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.text

.odp <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.presentation

.odb <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.database

.r<span style="mso-tab-count: 1;"> </span>application/R

.rdata<span style="mso-tab-count: 1;"> </span>application/R

.fp7<span style="mso-tab-count: 1;"> </span>application/filemaker

.7z<span style="mso-tab-count: 1;"> </span>application/x-7z-compressed

.m<span style="mso-tab-count: 1;"> </span>text/x-matlab

.prop<span style="mso-tab-count: 1;"> </span>application/octet-stream

.<span style="mso-tab-count: 1;"> </span>application/octet-stream

#### <a name="_Toc364337927"></a>Site davdoc8 (http -&gt; https)

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Binding: http, 130.223.27.147, 80</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item davdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span></span>Area IIS: double-clic sur HTTP Rdirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: https://davdoc8.unil.ch

J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) des virtual direcvtory IIS 7.5 docunil8 et docunil8-http-https, comme ça les gens ne reçoivent plus l’erreur 404 on essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.

Ajout de 5 extensions (.ens, .enz, .enf, .os, .cap)avec le Mime Type "application/octet-stream".

**Attention**: la redirection http sur https ne fonctionne pas pour le protocole WebDAV.

Après la migration on a changer la redirection vers https://davdoc.unil.ch

### <a name="_Toc364337928"></a>IIS7: ajout du site webdoc8 – échec on ne le met pas en route

#### <a name="_Toc364337929"></a>Dossier de l'application Fileman

On copie C:\\fm depuis docunil2k sur docunil8.

Structure application fileman:

c:\\fm

On la met sur le disque

Cela nous permet de cacher ce dossier aux utilisateurs.

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

c:\\fm\\arbetur

Dossier où il y aura les scripts de Fileman accédés par les

<span style="mso-spacerun: yes;"> </span>users en production

Permissions NTFS:

\- même permissions que ci-dessus

c:\\fm\\test

Dossier où il y aura les scripts de Fileman pour les tests

Permissions NTFS:

\- même permissions que ci-dessus

c:\\fm\\log

Dossier où il y aura les log de Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

créer le fichier vide c:\\fm\\log\\fileman.log

<span style="mso-spacerun: yes;"> </span>ajouter l'accès Write et écriture pour Domain Users

<span style="mso-spacerun: yes;"> </span>au fichier c:\\fm\\log\\fileman.log

c:\\fm\\database

Dossier où il y aura la base des utilisateurs (Access)

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil2k

\- Modify, Write, Read &amp; Execute, List Folder

<span style="mso-spacerun: yes;"> </span>Contents et Read pour Domain Users

c:\\fm\\admin

Dossier où il y aura les script de Fileman pour l'admin de fm

Permissions NTFS:- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read à aroy@ad et gesu@ad

<span style="mso-spacerun: yes;"> </span>c:\\fm\\src.6.3h

Dossier où il y a les source originale de la version 6.3h de Fileman

c:\\fm\\arbetur-original-6.3h

Dossier avec l'application Fileman originale Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil2k

c:\\fm\\w32-Controls

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

c:\\fm\\arbetur\\global.asa

<span style="mso-tab-count: 1;"> </span>Contient la configuration de fileman

On enregister le module FathUpload.dll (comme admin):

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">copy c:\\fm\\w32-Controls\\FathUpload.dll c:\\Windows\\system32</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">regsvr32 c:\\Windows\\System32\\FathUpload.dll</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

#### <a name="_Toc364337930"></a>Site webdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: webdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\fm\\arbetur

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.179, 444

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

Item webdoc8

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: webdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Specified roles or user groups: Authenticated Users</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

#### <a name="_Toc364337931"></a>Site webdoc8 (http -&gt; https)

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: on laisse le défaut

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span>Binding: http, 130.223.27.179, 80

Item webdoc8-http-https

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur HTTP Redirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: https://webdoc8.unil.ch

### <a name="_Toc364337932"></a>IIS7: ajout du site ftpdoc8

#### <a name="_Toc364337933"></a>Site ftpdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add FTP Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>FTP site name: ftpdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Physical path: [\\\\docunil\\docs](file://docunil/docs)

<span style="mso-tab-count: 2;"> </span>IP addtress: 130.223.27.147

<span style="mso-tab-count: 2;"> </span>Port: 21

<span style="mso-tab-count: 2;"> </span>Allow SSL

<span style="mso-tab-count: 2;"> </span>Sélectionner le certificat Quovadis

Authentication: Basic (seulement)

<span style="mso-tab-count: 1;"> </span>Default domain:ad.unil.ch

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Allow Access:<span style="mso-tab-count: 1;"> </span>Specified roles or user groups</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 2;"> </span></span>Authenticated Users

Permissions: Read, Write

La propriété "Pass-through authentication" est définie automatiquement.

Item ftpdoc8

<span style="mso-tab-count: 1;"> </span>FTP Directory Browsing

<span style="mso-tab-count: 2;"> </span>Directory Listing Style: UNIX

<span style="mso-tab-count: 2;"> </span>Display the following information in directory listings : Activer « Virtual directories ».

### <a name="_Toc364337934"></a>IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)

On commence par supprimer l'ancien site webdoc8.

On crée le dossier C:\\InetPub\\webdoc et on lui met les mêmes droits que C:\\InetPub\\wwwroot .

On crée le site webdoc8

Démarrer IIS Manager

<span style="mso-tab-count: 1;"> </span>Bouton droit su Sites: Add Web Site

<span style="mso-tab-count: 2;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Site name: webdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Physical path: C:\\InetPub\\webdoc</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Type: https

<span style="mso-tab-count: 2;"> </span>Ip address: 130.223.27.179

<span style="mso-tab-count: 2;"> </span>SSL certificate: webdoc.unil.ch

Le 30.08.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100830.zip

Le 15.09.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100915.zip

**Dans un premier temps, on utilise la version du 30.08.2010 appelée par moi version 1.**

C'est à cette version que correspond les sources reçues.

**La version du 15.09.2010 appelée par moi version 2.**

Les sources reçues ne semble pas correspondre à cette version.

Dans le dossier C:\\InetPub\\webdoc, on déballe le .zip. Obtient le dossier HTCOMNET

On copie le contenu de HTCOMNET dans C:\\InetPub\\webdoc

Dans IIS Manager:

<span style="mso-tab-count: 1;"> </span>Clic gauche sur webdoc8

<span style="mso-tab-count: 2;"> </span>Double clic sur Authentication

<span style="mso-tab-count: 3;"> </span>Disable Anonymous Authentication

<span style="mso-tab-count: 3;"> </span>Enable Basic Authentication

<span style="mso-tab-count: 4;"> </span>Edit Basic Authentication:

Default domain: ad.unil.ch

Realm: WebDoc

<span style="mso-tab-count: 3;"> </span>Toutes les autres "Authetication" sont disable

Edition du fichier C:\\InetPub\\webdoc\\Web.config

<span style="mso-tab-count: 1;"> </span>On ajoute aroy comme administrateurs:

<span style="mso-tab-count: 2;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">&lt;add key="administrators" value="aroy,Administrator"/&gt;</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>On ajoute la clé de licence:

<span style="mso-tab-count: 2;"> </span>&lt;add key="licenseKey" value="B01DF72D1EEED3C38B90F6D8277DFD59A2EB2E4800273903F117070164338E9C"/&gt;

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item DOCUNIL8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span>Item Feature Delegation</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Custom Delegation</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Mettre tout à "Read/write" si possible pour le serveur webdoc8

(pour que le fichier Web.config de HT soit pris en compte)

Donner tous les droits à ad\\aroy sur le dossier C:\\InetPub\\webdoc\\Data

Se connecter comme aroy sur https://webdoc8.unil.ch

<span style="mso-tab-count: 1;"> </span>Clic Administration

<span style="mso-tab-count: 2;"> </span>ON enlève toutes les définitions de dossier

<span style="mso-tab-count: 2;"> </span>On ajoute

<span style="mso-tab-count: 3;"> </span>Folder name: home

<span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users\\%USERNAMEUNIL%

<span style="mso-tab-count: 4;"> </span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

<span style="mso-tab-count: 3;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Folder name: users</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span></span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

<span style="mso-tab-count: 3;"> </span>Folder name: groups

<span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs1\\groups

<span style="mso-tab-count: 4;"> </span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

### <a name="_Toc364337935"></a>IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)

Dans C:\\InetPub\\webdocdev\\HT, je crée

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdoc\\HT\\HT1orig

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 1 originale

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdocdev\\HT\\HT1mod

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 1 modifiée

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdocdev\\HT\\HTF2orig

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 2 originale, authentification par formulaire

### <a name="_Toc364337936"></a>HTTPCommander: modification des sources

Je charge les sources reçues et je fais les modifications suivantes:

Modification pour avoir le dossier home de chaque utilisateur:

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Classe Utils du projet HttpCommander, méthode GetResultantPath, ajouter

if (resultantPath.Contains("%USERNAME1%"))

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">resultantPath = resultantPath.Replace("%USERNAME1%", Utils.CurrentUserName.Substring(0, 1));</span>

}

if (resultantPath.Contains("%USERNAME12%"))

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">resultantPath = resultantPath.Replace("%USERNAME12%", Utils.CurrentUserName.Substring(0, 2));</span>

}

Modification pour avoir le tri alphabétique croissant OK dans la partie droite

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier Comparer.cs , ajouter la classe

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">public class NameComparerAsc : IComparer&lt;FileSystemInfo&gt;</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>{

<span style="mso-spacerun: yes;"> </span>\#region IComparer&lt;FileInfo&gt; Members

<span style="mso-spacerun: yes;"> </span>public int Compare(FileSystemInfo x, FileSystemInfo y)

<span style="mso-spacerun: yes;"> </span>{

<span style="mso-spacerun: yes;"> </span>return x.Name.CompareTo(y.Name);

<span style="mso-spacerun: yes;"> </span>}

<span style="mso-spacerun: yes;"> </span>\#endregion

<span style="mso-spacerun: yes;"> </span>}

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier GridHandler.ashx.cs remplacer

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>JArray data = new JArray();</span>

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"> </span>

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = null;</span>

<span style="mso-tab-count: 1;"> </span>Par

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;">JArray data = new JArray();</span>

<span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>

<span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc();</span><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 3;"> </span></span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

Modification pour avoir le tri alphabétique croissant OK dans la partie gauche (Folders)

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier TreeHandler.ashx.cs remplacer

if (p.ListFolders)

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">foreach (DirectoryInfo di in diRoot.GetDirectories())</span>

{

data.Add(new JObject(

Par

<span style="mso-spacerun: yes;"> </span>if (p.ListFolders)

{

IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc();

DirectoryInfo\[\] dirs = diRoot.GetDirectories();

Array.Sort&lt;FileSystemInfo&gt;(dirs, comparer);

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">foreach (DirectoryInfo di in dirs)</span>

{

data.Add(new JObject(

<span style="mso-spacerun: yes;"> </span>

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>On regénère la solution et on remplace HttpCommander.dl dans C:\\InetPub\\webdoc\\bin. On fait déjà le test dans HT1mod du serveur webdocdev

### <a name="_Toc364337937"></a>Documentation IIS7: fichiers de configuration

Répertoire principal de configuration (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">applicationHost.config</span>):

C:\\Windows\\System32\\inetsrv\\config

Répertoire de configuration de .Net (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">machine.config</span>):

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\CONFIG

Dans chaque "web content directories", il peut y avoir aussi<span style="mso-spacerun: yes;"> </span>un fichier <span style="font-family: 'Lucida Console';">web.config</span> pouvant contenir des structures de configuration IIS ou .Net applicable au niveau où il se trouve et en dessous.

In terms of inheritance hierarchy, the root file is <span style="font-family: 'Lucida Console';">machine.config</span>, then <span style="font-family: 'Lucida Console';">web.config</span> at the same directory (referred to as root <span style="font-family: 'Lucida Console';">web.config</span>), then <span style="font-family: 'Lucida Console';">applicationHost.config</span>, then the optional <span style="font-family: 'Lucida Console';">web.config</span> files along the namespace.

In some cases it is useful to have the web.config file include some other .config file. This can be done by using the configSource attribute. Currently it is limited to point to relative physical paths in sub-directories, for security reasons (i.e. file A can only include file B if B is in physical subdirectory of A). Here's a basic example that shows how to use configSource:

&lt;!-- in inetsrv\\applicationHost.config --&gt;

&lt;configuration&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- mimemaps moved by the customer to a different file --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- so that this file is shorter and more readable --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;staticContent configSource="staticContent.config"/&gt;

…

### <a name="_Toc364337938"></a>Activer les Custom Properties (06.03.2013)

## <a name="_Toc364337939"></a>Enabling Custom Properties Using IIS Manager

Voir http://www.iis.net/learn/publish/using-webdav/how-to-use-custom-properties-with-webdav

1. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">In IIS Manager, in the **Connections** pane, expand the **Sites** node in the tree, then click the **Default Web Site**.</span>
2. As shown in the image below, double-click the **WebDAV Authoring Rules** feature.  
    [<span style="color: blue; mso-fareast-language: FR-CH; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i3.iis.net/media/7185953/how-to-use-custom-properties-with-webdav-351-image001.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-caoxs2r3.png)</span></span>](http://i3.iis.net/media/7185953/how-to-use-custom-properties-with-webdav-351-image001.png?cdn_id=2013-02-18-002)
3. When the **WebDAV Authoring Rules** page is displayed, click the **WebDAV Settings** task in the **Actions** pane.  
    [<span style="color: blue; mso-fareast-language: FR-CH; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i2.iis.net/media/7185947/how-to-use-custom-properties-with-webdav-351-image003.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-qaitxghr.png)</span></span>](http://i2.iis.net/media/7185947/how-to-use-custom-properties-with-webdav-351-image003.png?cdn_id=2013-02-18-002)
4. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">When the **WebDAV Settings** page is displayed, specify the following options: </span>

- <span style="mso-fareast-language: FR-CH; mso-no-proof: yes;">![](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-qujawzgi.png)</span>

601. Click on the \[...\] button to launch the Namespace Collection Editor
602. Click on **<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">Add </span>**and then choose "**<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">webdav\_simple\_prop</span>**" from the drop-down list
603. Specify '\*' for the XmlNameSpace and then click on **<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">OK</span>**.
[<span style="color: blue; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i3.iis.net/media/7185959/how-to-use-custom-properties-with-webdav-351-6.jpg?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-v5qc3zei.jpeg)</span></span>](http://i3.iis.net/media/7185959/how-to-use-custom-properties-with-webdav-351-6.jpg?cdn_id=2013-02-18-002)

8. Once you have completed the above steps, click the **Apply** task in the **Actions** pane.

### <a name="_Toc364337940"></a>Nouvel essai d’install de fileman sur win2008 (mars 2013)

Voir : [http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx](http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx)

# <a name="_Toc364337941"></a><span style="font-size: 18.0pt; font-family: 'Helvetica',sans-serif; color: black; letter-spacing: -.75pt; font-weight: normal;">Running classic ASP on IIS 7</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It's not really difficult to run classic ASP on Internet Information Server 7, but there are some bumps down the road. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Here's a little help to get you started:</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">First of all, check whether you have the Windows feature for ASP installed. Go to Programs and Features in Control Panel and click Turn Windows features on and off. Navigate down the tree of features and make sure ASP is checked.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPWindowsFeature](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-0rogsjki.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPWindowsFeature_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Next, go to Internet Information Server (IIS) Manager (run inetmgr from the Start Search box to get there fast) and create a new application pool for ASP.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPApplicationPool](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ildsoeyo.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPApplicationPool_2.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">This should be a "No managed code" and "Classic" app pool if you do not intend to mix and match the .NET Framework and ASP.NET in the same pool. The Integrated pipeline would not make sense, because it only applies to integrating HTTP modules that are either native or managed .NET implementations.</span>

<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: EN-GB;">I had some difficulties setting the identity of the application pool to the new built-in IUSR account. This account replaces the former computer account called IUSR\_</span>*<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222; mso-ansi-language: EN-GB;">machinename</span>*<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: EN-GB;">. Same goes for the IIS\_WPG group for application pools that is replaced by the builtin group IIS\_IUSRS. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Read more about it</span><span class="apple-converted-space"><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222; mso-ansi-language: DE-CH;"> </span></span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">[<span lang="DE-CH" style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666; mso-ansi-language: DE-CH;">here</span>](http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Configuring-Security/Understanding-the-Built-In-User-and-Group-Accounts)</span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">. Under the Advanced Settings of the "ASP" application pool you will find the Identity property under Process Model. The default value is NetworkService. I found no way to set this to the BUILTIN\\IUSR by choosing SpecificUser and setting BUILTIN\\USR under Identity SpecificUser Credentials. I guess that you shouldn't be running ASP sites under IUSR anymore. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It is used for anonymous users automatically.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPIUSRIdentity](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-12gcjhhz.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPIUSRIdentity_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">To easy the administration effort, there is a way to turn off the IUSR account without turning off anonymous identification:</span>

<span style="font-size: 10.0pt; font-family: 'Lucida Console'; color: #222222;">appcmd set config -section:anonymousAuthentication -userName:"" --password</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">And lastly, create your new web application. For example, copy the ASP site folder under C:\\inetpub\\wwwroot, where the default installation location of "Default Web Site" of IIS. Convert the folder (or virtual directory) to an application and choose "ASP" as the application pool. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Check whether the .asp extension is mapped to the correct handler and whether it is enabled. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Also make sure that the identity of your application pool has sufficient rights (and no more than that) to access the files in the web site's folder.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![IISASPEnabled](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ydz569wb.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/IISASPEnabled_4.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">One final note: whenever there is a error in the ASP website, and you get this error message: "An error occurred on the server when processing the URL. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Please contact the system administrator",</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPErrorMessage](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-jnkuljus.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPErrorMessage_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">it's probably because by default no error messages are sent to the client in IIS7. Change the setting "Send Errors To Browser" of your web application under the ASP icon to reveal such errors.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPReturnErrorMessages](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ti88f814.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPReturnErrorMessages_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Side note: if you get the nice Internet Explorer 500 error message and no particular details at all, remember to uncheck the "Show friendly HTTP error messages" checkbox under Internet Options, Advanced of IE.</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Some</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666;">more tips for classic ASP developers on IIS7</span>](http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx)</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">can be found on</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666;">Bills' IIS blog</span>](http://blogs.iis.net/bills/default.aspx)</span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">.</span>

# Install docunil12

Mise en place des services ftpdoc, davdoc et webdoc de docunil

**Table des matières**

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Configuration de la machine<span style="mso-tab-count: 1 dotted;">...................................................... </span>2</span></span>](#__RefHeading__3082_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Machine<span style="mso-tab-count: 1 dotted;">............................................................................... </span>2</span></span>](#__RefHeading__3084_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Ajout du role de serveur web<span style="mso-tab-count: 1 dotted;">................................................. </span>2</span></span>](#__RefHeading__3086_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Install du FrameWork .Net 3.5 sp1<span style="mso-tab-count: 1 dotted;">......................................... </span>2</span></span>](#__RefHeading__3088_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Firewall interne<span style="mso-tab-count: 1 dotted;">..................................................................... </span>2</span></span>](#__RefHeading__3090_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Installation de SQL 2008 Standard Edition 64 bits<span style="mso-tab-count: 1 dotted;">................... </span>2</span></span>](#__RefHeading__3092_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Utilisateur filemanlogin<span style="mso-tab-count: 1 dotted;">....................................................... </span>4</span></span>](#__RefHeading__3094_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Création de la base FILEMAN<span style="mso-tab-count: 1 dotted;">.............................................. </span>4</span></span>](#__RefHeading__3096_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Copie des tables existantes<span style="mso-tab-count: 1 dotted;">................................................. </span>7</span></span>](#__RefHeading__3098_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Configuration IIS 8<span style="mso-tab-count: 1 dotted;">............................................................... </span>8</span></span>](#__RefHeading__3100_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Installation de FTP pour IIS8<span style="mso-tab-count: 1 dotted;">.............................................. </span>8</span></span>](#__RefHeading__3102_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Installation de Webdav pour IIS 7<span style="mso-tab-count: 1 dotted;">....................................... </span>8</span></span>](#__RefHeading__3104_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">User webiis7<span style="mso-tab-count: 1 dotted;">...................................................................... </span>8</span></span>](#__RefHeading__3106_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Importation du certificat<span style="mso-tab-count: 1 dotted;">..................................................... </span>8</span></span>](#__RefHeading__3108_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Centraliser la configuration du serveur web<span style="mso-tab-count: 1 dotted;">.......................... </span>9</span></span>](#__RefHeading__3110_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS8: ajout des applications pool davdoc12 et webdoc12<span style="mso-tab-count: 1 dotted;">....... </span>9</span></span>](#__RefHeading__3112_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS8: ajout du site davdoc12<span style="mso-tab-count: 1 dotted;">............................................. </span>10</span></span>](#__RefHeading__3114_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Site davdoc12<span style="mso-tab-count: 1 dotted;">.............................................................. </span>10</span></span>](#__RefHeading__3116_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Site davdoc12 (http -&gt; https)<span style="mso-tab-count: 1 dotted;">........................................ </span>11</span></span>](#__RefHeading__3118_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS8: ajout du site webdoc12 – échec on ne le met pas en route<span style="mso-tab-count: 1 dotted;">.............................................................................. </span>12</span></span>](#__RefHeading__3120_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Dossier de l'application Fileman<span style="mso-tab-count: 1 dotted;">..................................... </span>12</span></span>](#__RefHeading__3122_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Site webdoc12<span style="mso-tab-count: 1 dotted;">.............................................................. </span>13</span></span>](#__RefHeading__3124_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Site webdoc12 (http -&gt; https)<span style="mso-tab-count: 1 dotted;">....................................... </span>14</span></span>](#__RefHeading__3126_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS7: ajout du site ftpdoc12<span style="mso-tab-count: 1 dotted;">.............................................. </span>14</span></span>](#__RefHeading__3128_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Site ftpdoc12<span style="mso-tab-count: 1 dotted;">................................................................ </span>14</span></span>](#__RefHeading__3130_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS7: ajout du site webdoc12 avec HTTPCommander (sept 2010)<span style="mso-tab-count: 1 dotted;">............................................................................. </span>15</span></span>](#__RefHeading__3132_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)<span style="mso-tab-count: 1 dotted;">............................................................................. </span>16</span></span>](#__RefHeading__3134_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">HTTPCommander: modification des sources<span style="mso-tab-count: 1 dotted;">....................... </span>16</span></span>](#__RefHeading__3136_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Documentation IIS8: fichiers de configuration<span style="mso-tab-count: 1 dotted;">.................... </span>18</span></span>](#__RefHeading__3138_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Activer les Custom Properties (06.03.2013)<span style="mso-tab-count: 1 dotted;">....................... </span>18</span></span>](#__RefHeading__3140_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Enabling Custom Properties Using IIS Manager<span style="mso-tab-count: 1 dotted;">...................... </span>18</span></span>](#__RefHeading__3142_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Nouvel essai d’install de fileman sur win2008 (mars 2013)<span style="mso-tab-count: 1 dotted;">.. </span>21</span></span>](#__RefHeading__3144_774454922)

[<span class="Sautdindex"><span style="color: windowtext; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;">Running classic ASP on IIS 7<span style="mso-tab-count: 1 dotted;">................................................... </span>21</span></span>](#__RefHeading__3146_774454922)

[<span style="color: windowtext; display: none; mso-hide: screen; mso-ansi-language: FR-CH; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; text-decoration: none; text-underline: none;"></span>](#_Toc364337909)

# <a name="_Toc364337909"></a><a name="__RefHeading__3082_774454922"></a><span style="mso-bookmark: _Toc364337909;">Configuration de la machine</span>

## <a name="_Toc364337914"></a><a name="_Toc254700370"></a><a name="__RefHeading__3084_774454922"></a><span style="mso-bookmark: _Toc364337914;"><span style="mso-bookmark: _Toc254700370;">Machine</span></span>

<span style="mso-bookmark: _Toc364337914;">Machine virtuelle VmWare:</span>

<span style="mso-bookmark: _Toc364337914;">Nom:</span>

<span style="mso-bookmark: _Toc364337914;"><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>docunil12.unil.ch, davdoc12.unil.ch, ftpdoc12.unil.ch: <span style="mso-tab-count: 1;"> </span>130.223.27.112</span>

<span style="mso-bookmark: _Toc364337914;"><span lang="DE-CH" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: DE-CH;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">webdoc12.unil.ch :<span style="mso-tab-count: 5;"> </span><span style="mso-tab-count: 1;"> </span>130.223.xx.xxx</span></span>

<span style="mso-bookmark: _Toc364337914;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">OS:</span></span>

<span style="mso-bookmark: _Toc364337914;"><span lang="DE-CH" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: DE-CH;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Windows Server 2012</span></span>

## <span style="mso-bookmark: _Toc364337914;"><a name="_Toc364337911"></a><a name="__RefHeading__3086_774454922"></a><span style="mso-bookmark: _Toc364337911;">Ajout du role de serveur web</span></span>

<span style="mso-bookmark: _Toc364337914;">Dans "Server Manager"</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span>Cliquer sur "Add roles and features"</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span>Dans « Add Roles and Features Wizard », après quelques next, sélectionner "Web Server (IIS)</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span></span><span style="mso-bookmark: _Toc364337914;"><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Cocher « Include management tools (if applicable)</span></span>

<span style="mso-bookmark: _Toc364337914;"><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 2;"> </span></span>Add Features</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span>Next</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span>Sélectionner tous les "Role Services"</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 2;"> </span></span><span style="mso-bookmark: _Toc364337914;"><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Chaque fois accepter " Add Required Features "</span></span>

<span style="mso-bookmark: _Toc364337914;"><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span>Restart server destination if needed</span></span>

<span style="mso-bookmark: _Toc364337914;"><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>Install</span>

<span style="mso-bookmark: _Toc364337914;"><span style="mso-tab-count: 1;"> </span>Close</span>

## <span style="mso-bookmark: _Toc364337914;"><a name="_Toc364337912"></a><a name="__RefHeading__3088_774454922"></a><span style="mso-bookmark: _Toc364337912;">Install du FrameWork .Net 3.5 sp1</span></span>

<span style="mso-bookmark: _Toc364337914;"><s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Via le « Add Roles and Features Wizard »</span></s></span>

<span style="mso-bookmark: _Toc364337914;"><s>Via powershell</s></span>

<span style="mso-bookmark: _Toc364337914;">Télécharger une version de 2012 server et le monter. Dans le « Add Roles and Features Wizard », spécifier un nouveau chemin (« e:\\sources\\sxs », ou e est le disque de montage).</span>

## <span style="mso-bookmark: _Toc364337914;"><a name="_Toc364337913"></a><a name="__RefHeading__3090_774454922"></a><span style="mso-bookmark: _Toc364337913;">Firewall interne</span></span>

<span style="mso-bookmark: _Toc364337914;">Il n'est pas actif.</span>

## <a name="Bookmark"></a><a name="__RefHeading__3092_774454922"></a><span style="mso-bookmark: Bookmark;">Installation de SQL 2008 S</span>tandard Edition 64 bits

Prendre SQL 2008 Standard Edition sur MSDNAA.

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">LOG ON AS AD\\gesu</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Installation:</span>

<span lang="EN-GB" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Mount ISO (right click -&gt; mount)</span>

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Launch SQL Server Installation Center

<span lang="EN-GB" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">System Configuration Checker -&gt; Choose mounted ISO -&gt; OK</span>

<span lang="EN-GB" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Go to mounted ISO and launch setup.exe (same window opens)</span>

<span lang="EN-GB" style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Installation -&gt; New SQL Server stand-alone installation or add...</span>

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Setup Support Rules -&gt; OK

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Install

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Next

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Product Key déjà rempli -&gt; Next

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Accept -&gt; Next -&gt; Install

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Setup Support Rules -&gt; Next

<span style="mso-tab-count: 1;"> </span>Feature selection :

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Database Engine Services

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Analysis Services

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Reporting Services

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Client Tools Connectivity

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Intergration Services

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>SQL Server Books Online

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Management Tools Basic

<span style="font-family: OpenSymbol; mso-fareast-font-family: OpenSymbol; mso-bidi-font-family: OpenSymbol;"><span style="mso-list: Ignore;">◦<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Management Tools Complete

<span style="mso-tab-count: 1;"> </span>-&gt; Next

Sélectionner: Default instance

Next

Disk usage summary -&gt; next

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Server components, tools, Books Online, and samples</span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Components to Install: tout selectionner</span></s>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Service Account: <span style="mso-tab-count: 1;"> </span>User the same account for all SQL Server services: AD\\gesu</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 3;"> </span><s>Start Services at the end of setup: sélectionner uniquement SQL Server</s></span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Authentication Mode: Windows Authentication Mode</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Collation Sttings: French, Accent-sensitive</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Account provisionning -&gt; Add current user -&gt; next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">report service : default -&gt; next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">error and usage -&gt; next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">installation rules -&gt; next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">ready to install -&gt; install</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Setup process complete -&gt; Next</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Close</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Installer SQL 2005 SP3 </span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="text-decoration: none;"> </span></span></s>

<s>Dans les Services, démarre et mettre en automatique les services suivants:</s>

<s><span style="mso-tab-count: 1;"> </span></s><s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">SQL Server Agent</span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span>SQL Analysis Services</span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="text-decoration: none;"> </span></span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Démarrer SQL Server Surface Area Configuration tool</span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span>Add New Administrator</span></s>

<s><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 2;"> </span></span>SQL Server 2005 User Provisioning Tool</s>

<s>Donner tous les droits à Ad\\gesu</s>

### <a name="_Toc364337915"></a><a name="__RefHeading__3094_774454922"></a><span style="mso-bookmark: _Toc364337915;">Utilisateur filemanlogin</span>

On rechange le mode d'authentification du SQL Server et on met "SQL Server and Windows Authentication mode":

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">To change security authentication mode :</span>

<span lang="EN-GB" style="mso-fareast-font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Database Engine / (local) / Windows Authentification / AD\\gesu (greyed out) -&gt; Connect</span>

<span lang="EN-GB" style="mso-fareast-font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.</span>

<span lang="EN-GB" style="mso-fareast-font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">On the Security page, under Server authentication, select the new server authentication mode, and then click OK.</span>

<span lang="EN-GB" style="mso-fareast-font-family: 'Lucida Console'; mso-bidi-font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt 'Times New Roman';"> </span></span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">In the SQL Server Management Studio dialog box, click OK, to acknowledge the need to restart SQL Server.</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

On crée l'utilisateur "filemanlogin":

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>SQL Server Management Studio

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Item Security

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Bouton droit sur Logins -&gt; New Login

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>SQL Server authentication

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Login name: filemanlogin

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Password: c……..8 (voir fichier C:\\fm\\arbetur\\global.asa, ligne ~14)

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>De-sélectionner "Enforce password policy"

### <a name="_Toc364337916"></a><a name="__RefHeading__3096_774454922"></a><span style="mso-bookmark: _Toc364337916;">Création de la base FILEMAN</span>

On crée la base FILEMAN:

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>SQL Server Management Studio

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Bouton droit sur Databases -&gt; New Database

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Database Name: FILEMAN

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Owner: filemanlogin

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Add

On créer les tables nécessaires pour Fileman:

SQL Server Management Studio (comme user fileman)

Avec le bouton "NewQuery", on exécute successivement les trois commande suivantes:

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Use \[FILEMAN\]</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>GO</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>CREATE TABLE \[dbo\].\[Login\] (</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[ID\] \[int\] IDENTITY (1, 1) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[User\] \[nvarchar\] (250) NOT NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Pass\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupID\] \[smallint\] NOT NULL DEFAULT (2),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CrDate\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Info\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[UserRootFolder\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IsDisabled\] \[bit\] NULL DEFAULT (0),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[SortBy\] \[nvarchar\] (255) NULL DEFAULT ('type'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[History\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumLogins\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastTime\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastIP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastDir\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastPassChange\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Email\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[TotalBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[BandwidthThisMonth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[BandwidthLastReset\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[AccountExpires\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>\[UploadNotification\] \[bit\] NULL DEFAULT (0),

<span style="mso-spacerun: yes;"> </span>\[IsGroupAdmin\] \[bit\] NULL DEFAULT (0) ,

<span style="mso-spacerun: yes;"> </span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span>CREATE TABLE \[dbo\].\[Groups\] (

<span style="mso-spacerun: yes;"> </span>\[GroupID\] \[int\] IDENTITY (1, 1) NOT NULL ,

<span style="mso-spacerun: yes;"> </span>\[GroupName\] \[nvarchar\] (50) NOT NULL ,

<span style="mso-spacerun: yes;"> </span>\[Description\] \[nvarchar\] (255) NULL ,

<span style="mso-spacerun: yes;"> </span>\[IsAdmin\] \[bit\] NOT NULL DEFAULT (0) ,

<span style="mso-spacerun: yes;"> </span>\[IsGroupDisabled\] \[bit\] NOT NULL DEFAULT (0) ,

<span style="mso-spacerun: yes;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[SettingsMask\] \[nvarchar\] (100) NOT NULL DEFAULT ('11111111111111111111111111101111111001111111111111111111111111111111111111') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[RootFolder\] \[nvarchar\] (255) NULL DEFAULT ('c:\\temp\\%user%') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxRootFolderSize\] \[int\] NULL DEFAULT ( 5242880) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ForbiddenList\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MinPassLength\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[DefaultFolderStructure\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumUploadFields\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxPassAge\] \[smallint\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LoginMsg\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupCreated\] \[smalldatetime\] NULL DEFAULT (GetDate()) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CustomButtons\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[StartPage\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>\[AllowMapDrives\] \[bit\] NOT NULL DEFAULT (0)

<span style="mso-spacerun: yes;"> </span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>CREATE TABLE \[dbo\].\[FMLog\] (</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Date\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[User\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>\[Description\] \[ntext\] NULL ,

<span style="mso-spacerun: yes;"> </span>\[LastError\] \[nvarchar\] (255) NULL

<span style="mso-spacerun: yes;"> </span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (25),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour que les 26 lettres de l'alphabète soit affichée dans les listes</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;">\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('English.dat'),</span>

<span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;">\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, attribs, moddate, ') ,</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour les colonnes affichées par défaut dans la liste des fichiers</span>

### <a name="_Toc364337917"></a><a name="__RefHeading__3098_774454922"></a><span style="mso-bookmark: _Toc364337917;">Copie des tables existantes</span>

Pour copier les tables de docunil8:

Se connecter sur docunil8

Démarrer "Enterprise Manager" de "Microsoft Sql Server

Bouton droitsur la base FILEMAN -&gt; All Tasks -&gt; Export Data

<span style="mso-tab-count: 1;"> </span>Data source

<span style="mso-tab-count: 2;"> </span>Microsoft OLE DB Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: (local)

<span style="mso-tab-count: 2;"> </span>Use Windows Authentication

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Choose a destination

<span style="mso-tab-count: 2;"> </span>Microsoft OLE DB Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: DOCUNIL12

<span style="mso-tab-count: 2;"> </span>Use SQL Server Authentication

<span style="mso-tab-count: 2;"> </span>Username: filemanlogin

<span style="mso-tab-count: 2;"> </span>Password: c……..8 **(Même sur docunil12)**

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Copy table(s) and view(s) from the source databases

<span style="mso-tab-count: 1;"> </span>Select source Tables

<span style="mso-tab-count: 2;"> </span>Sélection les 3 tables de FILEMAN

<span style="mso-tab-count: 1;"> </span>Edit Mappings

<span style="mso-tab-count: 2;"> </span>Check Enable identity insert is enabled for tables **Groups** and **Login**

<span style="mso-tab-count: 1;"> </span>Run immediatly

Après, il faut fermer l’accès réseau sur docunil12

## <a name="_Toc364337918"></a><a name="__RefHeading__3100_774454922"></a><span style="mso-bookmark: _Toc364337918;">Configuration IIS </span>8

### <a name="_Toc364337919"></a><a name="__RefHeading__3102_774454922"></a><span style="mso-bookmark: _Toc364337919;">Installation de FTP pour II</span>S8

Désinstaller <s>FTP 6: dans les Roles (Server Manager), il faut "Remove Role Services" pour "FTP Publishing Service" et</s> "IIS 6 Management Compatibility".

<s>Prendre FTP 7.5 pour IIS7 x86 (</s>[<s>ftp7\_x86intran\_75.msi</s>](ftp://ftp7_x86_75.msi/)<s>) sur le site de microsoft et procéder à l'installation.</s>

FTP server installé de base dans IIS8

### <a name="_Toc364337920"></a><a name="__RefHeading__3104_774454922"></a><span style="mso-bookmark: _Toc364337920;"><s>Installation de Webdav pour IIS 7</s></span>

<s>Prendre "Microsoft WebDAV 7.5 for IIS 7.0 (x86)" (webdav\_x86\_75.msi) sur le site de microsoft et procéder à l'installation.</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Installation de "Update for WebDAV 7.5 for IIS 7.0 (KB976526) (x86)". On prend<span style="mso-spacerun: yes;"> </span>webdav\_x86\_kb976526.msp est on l'exécute.</s>

C'est installé de base dans IIS8

### <a name="_Toc364337921"></a><a name="__RefHeading__3106_774454922"></a><span style="mso-bookmark: _Toc364337921;">User webiis7</span>

<s>On définit dans gestu un utilisateurs que l'on va utiliser sur le serveur IIS8.</s>

<s>Username:<span style="mso-spacerun: yes;"> </span></s><s><span style="font-family: 'Lucida Console';">webiis7</span></s>

**Ce user existe déjà.**

### <a name="_Toc364337922"></a><a name="__RefHeading__3108_774454922"></a><span style="mso-bookmark: _Toc364337922;">Importation du certificat</span>

\[nous avons du créé un certificate request et envoyé le fichier généré à AR qui nous génère le certificat et nous le retourne sous forme de fichier .crt.

Sous IIS Manager, cliquer sur DOCUNIL12 (DOCUNIL12\\Administrator).

Dans la colonne de droite, **Create Certificate Request**

Common name : **docunil12.unil.ch**

Organization : **Universite de Lausanne** (pas d'accents!)

Organizational unit:**ci**

City/Locality : **Lausanne**

State/province : **vd**

Country/region : **CH**

Sur l'écran suivante, choisir **Microsoft RSA\[...\]** et une clef de **2048 bits**. Sauvez le fichier en .txt et l'envoyer à AR.

Ensuite, dans IIS Manager, aller sur **Complete Certificate Request** et sélectionner le fichier renvoyé par AR (**docunil12.unil.ch-20140310.crt** dans ce cas)

Friendly name :**docunil12.unil.ch**

Select a certificate store:**<s>Web Hosting</s> Personal**

\]

<s><span style="text-decoration: none;"> </span></s>

<s>Démarrer IIS Manager</s>

<s>Item DOCUNIL12</s>

<s><span style="mso-tab-count: 1;"> </span>Item "Server certificates"</s>

<s><span style="mso-tab-count: 2;"> </span>Import: fichier webdoc.pfx</s>

<s><span style="text-decoration: none;"> </span></s>

### <a name="_Toc364337923"></a><a name="__RefHeading__3110_774454922"></a><span style="mso-bookmark: _Toc364337923;">Centraliser la configuration du serveur web</span>

Démarrer IIS Manager

Item DOCUNIL12

<span style="mso-tab-count: 1;"> </span>Item Feature Delegation

<span style="mso-tab-count: 2;"> </span>Mettre tout à "Read Only" si possible (ou Not Delegated)

<s>On laisse .Net Roles et .Net Users à "Configuration Read/Write".</s> **CES OPTIONS NE SONT PAS VISIBLES DANS IIS8 (probablement car elles ne sont pas installées) /!\\**

Avec cela, tous les paramètres de configuration seront dans

C:\\Windows\\System32\\inetsrv\\config\\applicationHost.config

### <a name="_Toc364337924"></a><a name="__RefHeading__3112_774454922"></a><span style="mso-bookmark: _Toc364337924;">IIS8: ajout des applications pool davdoc12 et webdoc</span>12

Démarrer IIS Manager

Item DOCUNIL12

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Name: webdoc12 </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span>.Net Framework: V2.0</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span></span>Managed pipeline mode: Classic

<span style="mso-tab-count: 6;"> </span>(ces deux paramètres n'ont pas d'influence

<span style="mso-tab-count: 6;"> </span>sur la performance de fileman)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "webdoc12"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

Item DOCUNIL12

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">.Net Framework: V2.0</span>

<span style="mso-tab-count: 5;"> </span>Name: davdoc12 (autre options par défaut)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "davdoc12"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

### <a name="_Toc364337925"></a><a name="__RefHeading__3114_774454922"></a><span style="mso-bookmark: _Toc364337925;">IIS8: ajout du site davdoc</span>12

#### <a name="_Toc364337926"></a><a name="__RefHeading__3116_774454922"></a><span style="mso-bookmark: _Toc364337926;">Site davdoc</span>12

Démarrer IIS Manager

Item **Sites** (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc12</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc12

<span style="mso-tab-count: 2;"> </span>Physical path: \\\\docunil\\docs

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.112, 443

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

Item davdoc12

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication **/!\\ se loguer avec AD\\gesu**

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: davdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span>Specified roles or user groups: Authenticated Users

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Directory Browsing

<span style="mso-tab-count: 2;"> </span>Enable

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur WebDAV Authoring Rules

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Enable WebDAV</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Add Authoring Rule:</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Allow access to: All content

<span style="mso-tab-count: 3;"> </span>Allow access to this content to: Authenticated Users

<span style="mso-tab-count: 3;"> </span>Permissions: Read, Source, Write

**WebDAV settings** (colonne de droite):

<span style="mso-tab-count: 1;"> </span>Changer **Require SSL access**: true

<span style="mso-tab-count: 1;"> </span>**Allow Property Queries with infinite Depth**: true

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Output Caching

<span style="mso-tab-count: 2;"> </span>Edit Feature Settings:

<span style="mso-tab-count: 3;"> </span>Dé-activer "Enable cache" et "Enable kernel cache"

<span style="mso-tab-count: 1;"> </span>Area Actions (colonne de droite): double-clic **View Virtual Directories**

**<span style="mso-tab-count: 2;"> </span>Add Virtual Directory...**

<span style="mso-tab-count: 2;"> </span>Alias: **groups**

<span style="mso-tab-count: 2;"> </span>Physical path :**\\\\docunil\\docs1\\groups**

**/!\\ suite à cela, un fichier (web.config?) s'est créé à la racine de** [**\\\\docunil.unil.ch\\docs**](smb://docunil.unil.ch/docs) **et a planté docunil ! Il a fallu se loguer (user : gesu) pour effacer ce fichier et redémarrer le service sur docunil8. C'est parce que dans Feature Delegation certaines options n'étaient pas à Read Only probablement (voir <u>Centraliser la configuration du serveur web</u> plus haut)**

Changer le fichier inetsrv/config/applicationHost.config, ajouter maxAllowedContentLength:

&lt;location path="davdoc12"&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;security&gt;

…

<span style="mso-spacerun: yes;"> </span>&lt;requestFiltering&gt;

…

<span style="mso-spacerun: yes;"> </span>**&lt;requestLimits maxAllowedContentLength="157286400"/&gt;**

<span style="mso-spacerun: yes;"> </span>&lt;/requestFiltering&gt;

<span style="mso-spacerun: yes;"> </span>&lt;/security&gt;

J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) <s>des virtual directory IIS 7.5 davdoc12 et davdoc12-http-https</s>, sur DOCUNIL12 comme ça les gens ne reçoivent plus l’erreur 404 en essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.

Autres mime type ajoutés:

.odt <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.text

.odp <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.presentation

.odb <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.database

.r<span style="mso-tab-count: 1;"> </span>application/R

.rdata<span style="mso-tab-count: 1;"> </span>application/R

.fp7<span style="mso-tab-count: 1;"> </span>application/filemaker

.fmp12<span style="mso-tab-count: 1;"> </span>application/filemaker

.7z<span style="mso-tab-count: 1;"> </span>application/x-7z-compressed

.m<span style="mso-tab-count: 1;"> </span>text/x-matlab

.prop<span style="mso-tab-count: 1;"> </span>application/octet-stream

.<span style="mso-tab-count: 1;"> </span>application/octet-stream

#### <a name="_Toc364337927"></a><a name="__RefHeading__3118_774454922"></a><span style="mso-bookmark: _Toc364337927;">Site davdoc12 (http -&gt; https)</span>

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc12-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc12

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Binding: http, 130.223.27.112, 80</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item davdoc12-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span></span>Area IIS: double-clic sur HTTP Redirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: [https://davdoc12.unil.ch](https://davdoc12.unil.ch/)

**/!\\ J'ai dû renommer le fichier web.config présent dans le dossier c:\\inetpub\\wwwroot en web.config.bak**

<s>J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) des virtual directory IIS 7.5 docunil12 et docunil12-http-https, comme ça les gens ne reçoivent plus l’erreur 404 en essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.</s>

Ajout de 5 extensions (.ens, .enz, .enf, .os, .cap) avec le Mime Type "application/octet-stream". **Rajouté au niveau DOCUNIL12**

**Attention**: la redirection http sur https ne fonctionne pas pour le protocole WebDAV.

Après la migration on a changé la redirection vers https://davdoc.unil.ch

### <a name="_Toc364337928"></a><a name="__RefHeading__3120_774454922"></a><span style="mso-bookmark: _Toc364337928;">IIS8: ajout du site webdoc12 – échec on ne le met pas en route</span>

#### <a name="_Toc364337929"></a><a name="__RefHeading__3122_774454922"></a><span style="mso-bookmark: _Toc364337929;">Dossier de l'application Fileman</span>

On copie C:\\fm depuis docunil2k sur docunil12.

Structure application fileman:

c:\\fm

On la met sur le disque

Cela nous permet de cacher ce dossier aux utilisateurs.

Permissions NTFS (Onglet Security):

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">-<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Full control pour le groupe [AdminDocUnil](mailto:AdminDocUnil@ad)

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">-<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Full control pour le groupe Administrators

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">-<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Read &amp; Execute, List Folder Contents et Read pour Domain Users

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">-<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>(other accounts to be left as before)

c:\\fm\\arbetur

Dossier où il y aura les scripts de Fileman accédés par les users en production

Permissions NTFS:

\- même permissions que ci-dessus

<s>c:\\fm\\test</s>

<s>Dossier où il y aura les scripts de Fileman pour les tests</s>

<s>Permissions NTFS:</s>

<s>- même permissions que ci-dessus</s> **PAS PRESENT ICI**

c:\\fm\\log

Dossier où il y aura les log de Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

créer le fichier vide c:\\fm\\log\\fileman.log

<span style="mso-spacerun: yes;"> </span>ajouter l'accès Write et écriture pour Domain Users

<span style="mso-spacerun: yes;"> </span>au fichier c:\\fm\\log\\fileman.log

c:\\fm\\database

Dossier où il y aura la base des utilisateurs (Access)

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil12

\- **Modify**, Write, Read &amp; Execute, List Folder

<span style="mso-spacerun: yes;"> </span>Contents et Read pour Domain Users

c:\\fm\\admin

Dossier où il y aura les script de Fileman pour l'admin de fm

Permissions NTFS:- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read à aroy@ad et [gesu@ad](mailto:gesu@ad) et cgreiner@ad

<span style="mso-spacerun: yes;"> </span>c:\\fm\\src.6.3h

Dossier où il y a les source originale de la version 6.3h de Fileman

c:\\fm\\arbetur-original-6.3h

Dossier avec l'application Fileman originale Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil12

c:\\fm\\w32-Controls

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

c:\\fm\\arbetur\\global.asa

<span style="mso-tab-count: 1;"> </span>Contient la configuration de fileman

On enregistre le module FathUpload.dll (comme admin):

copy c:\\fm\\w32-Controls\\FathUpload.dll c:\\Windows\\system32

**copy c:\\fm\\w32-Controls\\FathUpload.dll %windir%\\SysWOW64**

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">regsvr32 c:\\Windows\\System32\\FathUpload.dll **<s>/!\\ Getting error module failed to load</s> (ça fonctionne après avoir copié la .dll dans le dossier SysWOW64)**</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

#### <a name="_Toc364337930"></a><a name="__RefHeading__3124_774454922"></a><span style="mso-bookmark: _Toc364337930;">Site webdoc</span>12

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc12</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: <s>webdoc12</s> **webdoc (see page 21)**

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\fm\\arbetur

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.66, **443**

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

<span style="mso-tab-count: 2;"> </span>**<u>NEW in Windows 2012 :</u>** Right click on **webdoc** → Advanced settings → **Enable 32 bit applications : True**

Item webdoc12

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: webdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span>Specified roles or user groups: Authenticated Users

#### <a name="_Toc364337931"></a><a name="__RefHeading__3126_774454922"></a><span style="mso-bookmark: _Toc364337931;">Site webdoc12 (http -&gt; https)</span>

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc12-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: on laisse le défaut

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span>Binding: http, 130.223.27.66, 80

Item webdoc12-http-https

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur HTTP Redirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: https://webdoc12.unil.ch

### <a name="_Toc364337932"></a><a name="__RefHeading__3128_774454922"></a><span style="mso-bookmark: _Toc364337932;">IIS7: ajout du site ftpdoc</span>12

#### <a name="_Toc364337933"></a><a name="__RefHeading__3130_774454922"></a><span style="mso-bookmark: _Toc364337933;">Site ftpdoc</span>12

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add **FTP** Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>FTP site name: ftpdoc12</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Physical path: [\\\\docunil\\docs](https://wiki.unil.ch/%5C%5Cdocunil%5Cdocs)

<span style="mso-tab-count: 2;"> </span>IP address: 130.223.27.112

<span style="mso-tab-count: 2;"> </span>Port: 21

<span style="mso-tab-count: 2;"> </span>Allow SSL

<span style="mso-tab-count: 2;"> </span>Sélectionner le certificat Quovadis

Authentication: Basic (seulement)

Allow Access:<span style="mso-tab-count: 1;"> </span>Specified roles or user groups

<span style="mso-tab-count: 2;"> </span>Authenticated Users

Permissions: Read, Write

La propriété "Pass-through authentication" est définie automatiquement.

Item ftpdoc12

<span style="mso-tab-count: 1;"> </span>FTP Authentication

<span style="mso-tab-count: 2;"> </span>Clic droit sur Basic Authentication

<span style="mso-tab-count: 3;"> </span>Default domain:ad.unil.ch

Item ftpdoc12

<span style="mso-tab-count: 1;"> </span>FTP Directory Browsing

<span style="mso-tab-count: 2;"> </span>Directory Listing Style: UNIX

<span style="mso-tab-count: 2;"> </span>Display the following information in directory listings : Activer « Virtual directories ».

Item ftpdoc12

<span style="mso-tab-count: 1;"> </span>Colonne de droite, View virtual directories

<span style="mso-tab-count: 2;"> </span>Colonne de droite, add virtual directory

<span style="mso-tab-count: 3;"> </span>alias : **groups**

**<span style="mso-tab-count: 3;"> </span>**Physical path : [**\\\\docunil\\docs1\\groups**](smb://docunil/docs1/groups)

<span style="mso-tab-count: 3;"> </span>Connect Pass-through authentication

**<u>HTTPCOMMANDER a été testé mais n'est pas utilisé en prod</u>**

### <a name="_Toc364337934"></a><a name="__RefHeading__3132_774454922"></a><span style="mso-bookmark: _Toc364337934;"><s>IIS7: ajout du site webdoc12 avec HTTPCommander (sept 2010)</s></span>

<s>On commence par supprimer l'ancien site webdoc8.</s>

<s>On crée le dossier C:\\InetPub\\webdoc et on lui met les mêmes droits que C:\\InetPub\\wwwroot .</s>

<s><span style="text-decoration: none;"> </span></s>

<s>On crée le site webdoc8</s>

<s>Démarrer IIS Manager</s>

<s><span style="mso-tab-count: 1;"> </span>Bouton droit su Sites: Add Web Site</s>

<s><span style="mso-tab-count: 2;"> </span></s><s><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Site name: webdoc8</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Physical path: C:\\InetPub\\webdoc</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Type: https</s>

<s><span style="mso-tab-count: 2;"> </span>Ip address: 130.223.27.179</s>

<s><span style="mso-tab-count: 2;"> </span>SSL certificate: webdoc.unil.ch</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Le 30.08.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100830.zip</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Le 15.09.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100915.zip</s>

<s><span style="text-decoration: none;"> </span></s>

**<s>Dans un premier temps, on utilise la version du 30.08.2010 appelée par moi version 1.</s>**

<s>C'est à cette version que correspond les sources reçues.</s>

**<s><span style="text-decoration: none;"> </span></s>**

**<s>La version du 15.09.2010 appelée par moi version 2.</s>**

<s>Les sources reçues ne semble pas correspondre à cette version.</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Dans le dossier C:\\InetPub\\webdoc, on déballe le .zip. Obtient le dossier HTCOMNET</s>

<s><span style="text-decoration: none;"> </span></s>

<s>On copie le contenu de HTCOMNET dans C:\\InetPub\\webdoc</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Dans IIS Manager:</s>

<s><span style="mso-tab-count: 1;"> </span>Clic gauche sur webdoc8</s>

<s><span style="mso-tab-count: 2;"> </span>Double clic sur Authentication</s>

<s><span style="mso-tab-count: 3;"> </span>Disable Anonymous Authentication</s>

<s><span style="mso-tab-count: 3;"> </span>Enable Basic Authentication</s>

<s><span style="mso-tab-count: 4;"> </span>Edit Basic Authentication: </s>

<s>Default domain: ad.unil.ch</s>

<s>Realm: WebDoc</s>

<s><span style="mso-tab-count: 3;"> </span>Toutes les autres "Authetication" sont disable</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Edition du fichier C:\\InetPub\\webdoc\\Web.config</s>

<s><span style="mso-tab-count: 1;"> </span>On ajoute aroy comme administrateurs:</s>

<s><span style="mso-tab-count: 2;"> </span>&lt;add key="administrators" value="aroy,Administrator"/&gt;</s>

<s><span style="mso-tab-count: 1;"> </span>On ajoute la clé de licence:</s>

<s><span style="mso-tab-count: 2;"> </span>&lt;add key="licenseKey" value="B01DF72D1EEED3C38B90F6D8277DFD59A2EB2E4800273903F117070164338E9C"/&gt;</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item DOCUNIL8</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span>Item Feature Delegation</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Custom Delegation</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Mettre tout à "Read/write" si possible pour le serveur webdoc8</s>

<s>(pour que le fichier Web.config de HT soit pris en compte)</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Donner tous les droits à ad\\aroy sur le dossier C:\\InetPub\\webdoc\\Data</s>

<s>Se connecter comme aroy sur https://webdoc8.unil.ch</s>

<s><span style="mso-tab-count: 1;"> </span>Clic Administration</s>

<s><span style="mso-tab-count: 2;"> </span>ON enlève toutes les définitions de dossier</s>

<s><span style="mso-tab-count: 2;"> </span>On ajoute</s>

<s><span style="mso-tab-count: 3;"> </span>Folder name: home</s>

<s><span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users\\%USERNAMEUNIL%</s>

<s><span style="mso-tab-count: 4;"> </span>Add user: regex:.\*</s>

<s><span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut</s>

<s><span style="mso-tab-count: 3;"> </span></s><s><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Folder name: users</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users</span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span></span>Add user: regex:.\*</s>

<s><span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut</s>

<s><span style="mso-tab-count: 3;"> </span>Folder name: groups</s>

<s><span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs1\\groups</s>

<s><span style="mso-tab-count: 4;"> </span>Add user: regex:.\*</s>

<s><span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut</s>

<s><span style="text-decoration: none;"> </span></s>

### <a name="_Toc364337935"></a><a name="__RefHeading__3134_774454922"></a><span style="mso-bookmark: _Toc364337935;"><s>IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)</s></span>

<s><span style="text-decoration: none;"> </span></s>

<s>Dans C:\\InetPub\\webdocdev\\HT, je crée </s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>C:\\InetPub\\webdoc\\HT\\HT1orig</s>

<s><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Qui est la version 1 originale</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>C:\\InetPub\\webdocdev\\HT\\HT1mod</s>

<s><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Qui est la version 1 modifiée</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>C:\\InetPub\\webdocdev\\HT\\HTF2orig</s>

<s><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Qui est la version 2 originale, authentification par formulaire</s>

<s><span style="text-decoration: none;"> </span></s>

### <a name="_Toc364337936"></a><a name="__RefHeading__3136_774454922"></a><span style="mso-bookmark: _Toc364337936;"><s>HTTPCommander: modification des sources</s></span>

<s>Je charge les sources reçues et je fais les modifications suivantes:</s>

<s><span style="text-decoration: none;"> </span></s>

<s>Modification pour avoir le dossier home de chaque utilisateur:</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Classe Utils du projet HttpCommander, méthode GetResultantPath, ajouter</s>

<s>if (resultantPath.Contains("%USERNAME1%"))</s>

<s>{</s>

<s>resultantPath = resultantPath.Replace("%USERNAME1%", Utils.CurrentUserName.Substring(0, 1));</s>

<s>}</s>

<s>if (resultantPath.Contains("%USERNAME12%"))</s>

<s>{</s>

<s>resultantPath = resultantPath.Replace("%USERNAME12%", Utils.CurrentUserName.Substring(0, 2));</s>

<s>}</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="text-decoration: none;"> </span></s>

<s>Modification pour avoir le tri alphabétique croissant OK dans la partie droite</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Dans le fichier Comparer.cs , ajouter la classe</s>

<s><span style="mso-spacerun: yes;"> </span>public class NameComparerAsc : IComparer&lt;FileSystemInfo&gt;</s>

<s><span style="mso-spacerun: yes;"> </span>{</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="mso-spacerun: yes;"> </span>\#region IComparer&lt;FileInfo&gt; Members</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="mso-spacerun: yes;"> </span>public int Compare(FileSystemInfo x, FileSystemInfo y)</s>

<s><span style="mso-spacerun: yes;"> </span>{</s>

<s><span style="mso-spacerun: yes;"> </span>return x.Name.CompareTo(y.Name);</s>

<s><span style="mso-spacerun: yes;"> </span>}</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="mso-spacerun: yes;"> </span>\#endregion</s>

<s><span style="mso-spacerun: yes;"> </span>}</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Dans le fichier GridHandler.ashx.cs remplacer </s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>JArray data = new JArray();</span></s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="text-decoration: none;"> </span></span></s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = null;</span></s>

<s><span style="mso-tab-count: 1;"> </span>Par</s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>JArray data = new JArray();</span></s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-tab-count: 1;"> </span></span></s>

<s><span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc();</span><span style="mso-tab-count: 3;"> </span></s>

<s><span style="text-decoration: none;"> </span></s>

<s>Modification pour avoir le tri alphabétique croissant OK dans la partie gauche (Folders)</s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>Dans le fichier TreeHandler.ashx.cs remplacer</s>

<s>if (p.ListFolders)</s>

<s>{</s>

<s>foreach (DirectoryInfo di in diRoot.GetDirectories())</s>

<s>{</s>

<s>data.Add(new JObject(</s>

<s>Par</s>

<s><span style="mso-spacerun: yes;"> </span>if (p.ListFolders)</s>

<s>{</s>

<s>IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc(); </s>

<s>DirectoryInfo\[\] dirs = diRoot.GetDirectories();</s>

<s>Array.Sort&lt;FileSystemInfo&gt;(dirs, comparer);</s>

<s><span style="text-decoration: none;"> </span></s>

<s><span lang="DE-CH" style="mso-ansi-language: DE-CH;">foreach (DirectoryInfo di in dirs)</span></s>

<s>{</s>

<s>data.Add(new JObject(</s>

<s><span style="mso-spacerun: yes;"> </span></s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="text-decoration: none;"> </span></s>

<s><span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span></s><s>On régénère la solution et on remplace HttpCommander.dl dans C:\\InetPub\\webdoc\\bin. On fait déjà le test dans HT1mod du serveur webdocdev</s>

### <a name="_Toc364337937"></a><a name="__RefHeading__3138_774454922"></a><span style="mso-bookmark: _Toc364337937;">Documentation IIS8: fichiers de configuration</span>

Répertoire principal de configuration (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">applicationHost.config</span>):

C:\\Windows\\System32\\inetsrv\\config

Répertoire de configuration de .Net (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">machine.config</span>):

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\CONFIG

Dans chaque "web content directories", il peut y avoir aussi un fichier <span style="font-family: 'Lucida Console';">web.config</span> pouvant contenir des structures de configuration IIS ou .Net applicable au niveau où il se trouve et en dessous.

In terms of inheritance hierarchy, the root file is <span style="font-family: 'Lucida Console';">machine.config</span>, then <span style="font-family: 'Lucida Console';">web.config</span> at the same directory (referred to as root <span style="font-family: 'Lucida Console';">web.config</span>), then <span style="font-family: 'Lucida Console';">applicationHost.config</span>, then the optional <span style="font-family: 'Lucida Console';">web.config</span> files along the namespace.

In some cases it is useful to have the web.config file include some other .config file. This can be done by using the configSource attribute. Currently it is limited to point to relative physical paths in sub-directories, for security reasons (i.e. file A can only include file B if B is in physical subdirectory of A). Here's a basic example that shows how to use configSource:

&lt;!-- in inetsrv\\applicationHost.config --&gt;

&lt;configuration&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- mimemaps moved by the customer to a different file --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- so that this file is shorter and more readable --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;staticContent configSource="staticContent.config"/&gt;

…

### <a name="_Toc364337938"></a><a name="__RefHeading__3140_774454922"></a><span style="mso-bookmark: _Toc364337938;">Activer les Custom Properties (06.03.2013)</span>

## <a name="_Toc364337939"></a><a name="__RefHeading__3142_774454922"></a><span style="mso-bookmark: _Toc364337939;">Enabling Custom Properties Using IIS Manager</span>

Voir http://www.iis.net/learn/publish/using-webdav/how-to-use-custom-properties-with-webdav

1. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">In IIS Manager, in the **Connections** pane, expand the **Sites** node in the tree, then click the **Default Web Site**.</span>
2. As shown in the image below, double-click the **WebDAV Authoring Rules** feature.  
    <span style="mso-no-proof: yes;">![http://i3.iis.net/media/7185953/how-to-use-custom-properties-with-webdav-351-image001.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-egwxqtxy.png)</span>
3. When the **WebDAV Authoring Rules** page is displayed, click the **WebDAV Settings** task in the **Actions** pane.  
    <span style="mso-no-proof: yes;">![http://i2.iis.net/media/7185947/how-to-use-custom-properties-with-webdav-351-image003.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-zebwxxus.png)</span>
4. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">When the **WebDAV Settings** page is displayed, specify the following options: </span>

- <span style="mso-no-proof: yes;">![](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-5lbwadsj.png)</span>

710. Double click on Property Store **Collection**, click on the \[...\] button to launch the Namespace Collection Editor
711. Click on Add and then choose "webdav\_simple\_prop" from the drop-down list
712. Specify '\*' for the XmlNameSpace and then click on OK.
<span style="mso-no-proof: yes;">![http://i3.iis.net/media/7185959/how-to-use-custom-properties-with-webdav-351-6.jpg?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-y3dzy684.jpeg)</span>

8. Once you have completed the above steps, click the **Apply** task in the **Actions** pane.

### <a name="_Toc364337940"></a><a name="__RefHeading__3144_774454922"></a><span style="mso-bookmark: _Toc364337940;">Nouvel essai d’install de fileman sur win2008 (mars 2013)</span>

Voir : [http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx](http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx)

# <a name="_Toc364337941"></a><a name="__RefHeading__3146_774454922"></a><span style="mso-bookmark: _Toc364337941;"><span style="font-size: 18.0pt; font-family: 'Helvetica',sans-serif; color: black; letter-spacing: -.75pt; font-weight: normal;">Running classic ASP on IIS 7</span></span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It's not really difficult to run classic ASP on Internet Information Server 7, but there are some bumps down the road. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Here's a little help to get you started:</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">First of all, check whether you have the Windows feature for ASP installed. **Go to Programs and Features in Control Panel and click Turn Windows features on and off. Navigate down the tree of features and make sure ASP is checked.**</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![ASPWindowsFeature](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-bdcpu6n1.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Next, go to Internet Information Server (IIS) Manager (**run inetmgr from the Start Search box** to get there fast) and create a new application pool for ASP. (**DOCUNIL12 -&gt; Application Pools -&gt; right click -&gt; « Add Application Pool »**)</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![ASPApplicationPool](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-qd6hgywv.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">This should be a "No managed code" and "Classic" app pool if you do not intend to mix and match the .NET Framework and ASP.NET in the same pool. The Integrated pipeline would not make sense, because it only applies to integrating HTTP modules that are either native or managed .NET implementations.</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">I had some difficulties setting the identity of the application pool to the new built-in IUSR account. This account replaces the former computer account called IUSR\_*<span style="font-family: 'Andale Mono',serif;">machinename</span>*. Same goes for the IIS\_WPG group for application pools that is replaced by the builtin group IIS\_IUSRS. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Read more about it<span class="apple-converted-space"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-ansi-language: DE-CH;">here</span>](http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Configuring-Security/Understanding-the-Built-In-User-and-Group-Accounts)</span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">. Under the Advanced Settings of the "ASP" application pool you will find the Identity property under Process Model. The default value is NetworkService. I found no way to set this to the BUILTIN\\IUSR by choosing SpecificUser and setting BUILTIN\\USR under Identity SpecificUser Credentials. I guess that you shouldn't be running ASP sites under IUSR anymore. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It is used for anonymous users automatically.</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![ASPIUSRIdentity](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-juikrddl.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">To easy the administration effort, there is a way to turn off the IUSR account without turning off anonymous identification:</span>

<span style="font-size: 10.0pt; font-family: 'Lucida Console'; color: #222222;">appcmd set config -section:anonymousAuthentication -userName:"" --password</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">And lastly, create your new web application. For example, copy the ASP site folder under C:\\inetpub\\wwwroot, where the default installation location of "Default Web Site" of IIS. Convert the folder (or virtual directory) to an application and choose "ASP" as the application pool. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Check whether the .asp extension is mapped to the correct handler and whether it is enabled. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Also make sure that the identity of your application pool has sufficient rights (and no more than that) to access the files in the web site's folder.</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![IISASPEnabled](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-xyz3fdrq.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">One final note: whenever there is a error in the ASP website, and you get this error message: "An error occurred on the server when processing the URL. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Please contact the system administrator",</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![ASPErrorMessage](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-itwegvad.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">it's probably because by default no error messages are sent to the client in IIS7. Change the setting "Send Errors To Browser" of your web application under the ASP icon to reveal such errors.</span>

<span style="color: black; mso-color-alt: windowtext; mso-no-proof: yes;">![ASPReturnErrorMessages](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-nuthv9dy.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Side note: if you get the nice Internet Explorer 500 error message and no particular details at all, remember to uncheck the "Show friendly HTTP error messages" checkbox under Internet Options, Advanced of IE.</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Some<span class="apple-converted-space"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666;">more tips for classic ASP developers on IIS7</span>](http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx)</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;"> </span></span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">can be found on<span class="apple-converted-space"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666;">Bills' IIS blog</span>](http://blogs.iis.net/bills/default.aspx)</span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">.</span>