libs-gsweb/GSWAdaptors/netscape/obj.conf

43 lines
1.9 KiB
Text
Raw Normal View History

# Netscape Communications Corporation - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
Init format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%" fn="flex-init" access="/opt/ns-home/https-mulberry/logs/access"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules" shlib="/usr/GNUstep/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps/libgswebNSAPIAdaptor_d.so" \
funcs="GSWeb_Init,GSWeb_NameTrans,GSWeb_RequestHandler"
Init fn="GSWeb_Init" GSWeb_DocumentRoot="/opt/ns-home/docs" GSWeb_DocumentRoot="/NextLibrary/GSWAdaptors/Configuration/GNUstepWeb.conf"
#
# test stuff
Init fn="load-modules" shlib="/export/home/squirk/Developer/nsapi/pbdump.so" \
funcs="test_nametrans,test_object,test_init"
Init fn="test_init" foo="Foo" bar="Bar" blech="Blech"
<Object name="default">
NameTrans from="/ns-icons" fn="pfx2dir" dir="/opt/ns-home/ns-icons"
NameTrans from="/mc-icons" fn="pfx2dir" dir="/opt/ns-home/ns-icons"
NameTrans from="/GSWeb" fn="GSWeb_NameTrans" name="gsweb"
NameTrans from="/cgi-bin" fn="pfx2dir" dir="/opt/ns-home/cgi-bin" name="cgi"
NameTrans root="/opt/ns-home/docs" fn="document-root"
PathCheck fn="unix-uri-clean"
PathCheck fn="find-pathinfo"
PathCheck index-names="index.html,home.html" fn="find-index"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service fn="imagemap" method="(GET|HEAD)" type="magnus-internal/imagemap"
Service fn="index-common" method="(GET|HEAD)" type="magnus-internal/directory"
Service fn="send-file" method="(GET|HEAD)" type="*~magnus-internal/*"
AddLog fn="flex-log" name="access"
</Object>
<Object name="gsweb">
Service fn="GSWeb_RequestHandler"
</Object>
<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>