From: Derick Rethans Date: Wed, 20 Feb 2002 10:41:18 +0000 (+0000) Subject: - Reformatting X-Git-Tag: php-4.2.0RC1~313 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d6c7626da44470c16b2e7c7f59fa2ed9f197c7c;p=php - Reformatting --- diff --git a/sapi/nsapi/nsapi-readme.txt b/sapi/nsapi/nsapi-readme.txt index 2862a44e02..61e7dc8254 100644 --- a/sapi/nsapi/nsapi-readme.txt +++ b/sapi/nsapi/nsapi-readme.txt @@ -1,65 +1,76 @@ Configuration of your Netscape or iPlanet Web Server for PHP4 ------------------------------------------------------------- -These instructions are targetted at Netscape Enterprise Web Server -and SUN/Netscape Alliance iPlanet Web Server. On other web servers -your milage may vary. +These instructions are targetted at Netscape Enterprise Web Server and +SUN/Netscape Alliance iPlanet Web Server. On other web servers your +milage may vary. Firstly you may need to add some paths to the LD_LIBRARY_PATH -environment for netscape to find all the shared libs. This is -best done in the start script for your netscape server. -Windows users can probably skip this step. The start -script is located in: -/https-servername/start +environment for Netscape to find all the shared libs. This is best done +in the start script for your Netscape server. Windows users can +probably skip this step. The start script is located in: -netscape config files are located in: -/https-servername/config + /https-servername/start -add the following line to mime.types -type=magnus-internal/x-httpd-php exts=php +Netscape config files are located in: + /https-servername/config -Add the following to obj.conf, shlib will vary depending on your OS, for unix it -will be something like "/bin/libphp4.so". -#note place following two lines after mime types init! -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!" +Add the following line to mime.types: - -. -. -. -.#NOTE this next line should happen after all 'ObjectType' and before all 'AddLog' lines -Service fn="php4_execute" type="magnus-internal/x-httpd-php" -. -. - + type=magnus-internal/x-httpd-php exts=php - -ObjectType fn="force-type" type="magnus-internal/x-httpd-php" -Service fn=php4_execute - +Add the following to obj.conf, shlib will vary depending on your OS, for +Unix it will be something like: + + "/bin/libphp4.so". + + +Note! Place following two lines after mime.types init: + + 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!" + + + . + . + . + # NOTE this next line should happen after all 'ObjectType' and before + # all 'AddLog' lines + + Service fn="php4_execute" type="magnus-internal/x-httpd-php" + . + . + + + + ObjectType fn="force-type" type="magnus-internal/x-httpd-php" + Service fn=php4_execute + Authentication configuration +---------------------------- -PHP authentication cannot be used with any other authentication. ALL AUTHENTICATION IS -PASSED TO YOUR PHP SCRIPT. To configure PHP Authentication for the entire server, add -the following line: +PHP authentication cannot be used with any other authentication. ALL +AUTHENTICATION IS PASSED TO YOUR PHP SCRIPT. To configure PHP +Authentication for the entire server, add the following line: + + + AuthTrans fn=php4_auth_trans + . + . + . + . + - -AuthTrans fn=php4_auth_trans -. -. -. -. - To use PHP Authentication on a single directory, add the following: - -AuthTrans fn=php4_auth_trans - + + AuthTrans fn=php4_auth_trans + +