summaryrefslogtreecommitdiff
path: root/sapi/nsapi/nsapi-readme.txt
diff options
context:
space:
mode:
authorShane Caraveo <shane@php.net>2000-05-06 23:05:29 +0000
committerShane Caraveo <shane@php.net>2000-05-06 23:05:29 +0000
commitfdb62f9ce71978668417ba14c13422313f71a171 (patch)
tree0f03b12aa25071a46a7d451a1eb55ec213f18865 /sapi/nsapi/nsapi-readme.txt
parentdc704e26feefa2dbac10ecf7d6cb33ff1340b3dd (diff)
downloadphp-git-fdb62f9ce71978668417ba14c13422313f71a171.tar.gz
nsapi now compiles under win32, untested
Diffstat (limited to 'sapi/nsapi/nsapi-readme.txt')
-rw-r--r--sapi/nsapi/nsapi-readme.txt52
1 files changed, 52 insertions, 0 deletions
diff --git a/sapi/nsapi/nsapi-readme.txt b/sapi/nsapi/nsapi-readme.txt
new file mode 100644
index 0000000000..79b97636f5
--- /dev/null
+++ b/sapi/nsapi/nsapi-readme.txt
@@ -0,0 +1,52 @@
+nsapi configuration file information
+
+netscape config files are located in:
+/netscape/suitespot/httpd-servername/config
+
+add the following line to mime.types
+
+type=magnus-internal/x-httpd-php exts=php
+
+
+Add the following to obj.conf
+
+#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!"
+
+<Object name="default">
+.
+.
+.
+.#NOTE this next line should happen after all 'ObjectType' and before all 'AddLog' lines
+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>
+
+
+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:
+
+<Object name="default">
+AuthTrans fn=php4_auth_trans
+.
+.
+.
+.
+</Object>
+
+To use PHP Authentication on a single directory, add the following:
+
+<Object ppath="d:\path\to\authenticated\dir\*">
+AuthTrans fn=php4_auth_trans
+</Object>