3.3.16.1 Installer PHP avec Netscape sous Sun Solaris
3.3.16 Installation sous Netscape et iPlanet Enterprise Serveur
3.3 Installation
3 Comment commencer
Manuel PHP
. Exemple d'installation pour Netscape Enterprise sous Solaris ->Exemple de configuration pour Netscape Enterprise
|
| Exemple de configuration pour Netscape Enterprise |
Instructions de configuration for Netscape Enterprise Server
From: bhager@invacare.com
1. Ajoutez les lignes suivantes dans mime.types:
type=magnus-internal/x-httpd-php exts=php
2. Ajoutez les lignes suivantes dans obj.conf. shlib peut dépendre de
votre OS, pour Unix c'est quelque chose de proche de
/opt/netscape/suitespot/bin/libphp4.so.
Il est conseillé de placer les lignes suivantes après les
lignes de types mime :
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/php4/nsapiPHP4.dll"
Init fn=php4_init errorString="Failed to initialize PHP!"
<object name="default">
.
.
.
.#NOTE La ligne suivante doit être placée après toutes
.#les lignes 'ObjectType'
.# et avant les lignes 'AddLog'
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
.
.
</Object>
<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn=php4_execute
</Object>
Configuration d'authentification
L'authentification PHP ne peut pas être utilisée avec d'autre authentification.
TOUTES LES FORMES D'AUTHENTIFICATION SONT PASSEES AU SCRIPT PHP.
Pour configurer l'authentification PHP pour le serveur entier, ajoutez
la ligne suivante :
<Object name="default">
AuthTrans fn=php4_auth_trans
.
.
.
.
</Object>
Pour configurer l'authentification PHP pour un dossier, ajoutez
la ligne suivante :
<Object ppath="d:\path\to\authenticated\dir\*">
AuthTrans fn=php4_auth_trans
</Object>
|
|