OS: Windows XP Home Edition SP2
Problème:
Sous Win XP Home, IIS n'est pas présent, contrairement à la version Pro de Win XP. Il est néanmoins possible d'installer une version permettant de faire du développement local à partir d'une version de Windows 2000.
Solution:
Il est nécessaire d'avoir le CD de Win XP Home et un CD de Windows 2000. Perso, j'ai utilisé: le CD de Dell contenant l'OS en français et un CD de Windows 2000 Advanced Server anglais.
iis=iis.dll,OcEntry,iis.inf,hide,7
par
iis=iis2.dll,OcEntry,iis2.inf,,7
D:\I386\iis.dl_
et
D:\I386\iis.in_
vers un dossier.
expand iis.dl_ iis2.dll expand iis.in_ iis2.inf
D:\I386
Configurer IIS:
Apparemment, seule l'authentification via NTLM (ou Integrated Windows Authentication) fonctionne. Pour IE, cela fonctionne par défaut.
Pour Firefox, il reste une option à configurer:
network.autodial-helper.enabled
et vérifier que la valeur est à True
network.automatic-ntlm-auth.trusted-uris
et rajouter la valeur alaxoscom.yourwebhostingmysql.com
Note:
sans cette modification de Firefox, un popup avec login+pwd est affiché.
Cette procédure n'a pas fonctionné après une réinstallation de Windows XP Home. Une recherche sur le net m'a permis de compléter cette installation:
IIS Configuration
When cross-installing IIS from Windows 2000 to Windows XP Home, the default Directory Security and Home Directory settings will not work correctly out-of-the-box. Configure Directory Security
The default IIS account is IUSR_NAME. We need to replace this with NAME\IUSR_NAME (where NAME is your computer name.) IIS User Accounts
IIS creates some user accounts, based on your computer's name, that it uses to run ASP applications: IUSR_NAME and IWAM_NAME, where NAME is the name of your computer.
This allows custom security settings to be applied to ASP and ISAPI applications.
If you see “The requested resource is in use.” trying to access your new web server, follow the Home Directory steps below to modify the Application Protection settings for the default web site. Configure Home Directory With Internet Services Manager:
The default website may not work
If you go to http://localhost in a browser, chances are you will see an ASP error on line 19. Don't panic.
IUSR_NAME does not have permission to run the default IIS website. The default IIS website attempts to create admin-only ActiveX objects.
Si l'on installe IIS après l'installation de .Net, IIS n'est pas capable de faire tourner des applis .Net.
Pour cela, il est nécessaire de lancer la commande suivante qui installe ASP.Net:
aspnet_regiis -i
Si la commande n'est pas dans le Path, ouvrir l'invite de commande depuis le menu démarrer → outils Visual Studio → …
OS: Windows Server 2003 IIS: 6.0
Problème:
Après installation du service FTP, par défaut impossible de se connecter avec un client comme FileZilla.
Raison:
Accès en mode passif n'est pas possible. Pour cela, il faut configurer le FTP et le firewall de Windows afin de permettre des connexions sur d'autres ports que le 21.
Source:
http://www.newagedigital.com/cgi-bin/newagedigital/articles/ms-firewall-ftp.html
Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. PassivePortRange : (STRING) "5001-5201"
FOR /L %I IN (5001,1,5201) DO netsh firewall add portopening TCP %I "Passive FTP"%I
In order to use FTP in “Isolation” mode, we need to construct the FTP Root so that users are “Dropped” into their correct home directory.
The structure illustrated above contains two subdirectories, “localuser” and my domain “simongibson” which contain home directories for each user. These user sub-directories must match their respective username exactly. If not, the user will not be able to log onto your FTP server.
Create the directory structure above to match your configuration. The “FTPRoot” directory can be placed anywhere on your system.