[PHP-users 15349]Re: SunOneWebServer6で PHP

Kenji ono ono @ fjct.fujitsu.com
2003年 5月 17日 (土) 19:18:53 JST


織田さん、こんにちは。小野といいます。

教えて頂いたサイトを確認し、下のようなかん時でやっているのですが、
server.logには
Error processing obj.conf line 3: HTTP2213: Init functions are not allowed in this objset 
と出ています。
mimetypeも設定しました。

どうもうまくいかないようです。

環境を書いてなかったです・・・。
OS:WindowsXP
PHP:PHP4.3.1
D:\PHP4\sapi\php4nsapi.dll

==>obj.conf

Init fn="load-modules" 
 shlib="d:\php4\sapi\php4nsapi.dll"
 funcs="php4_init,php4_close,php4_execute,php4_auth_trans" 
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn=pfx2dir from=/mc-icons dir="D:/SunOne/AppServer7/lib/icons" name="es-internal"
NameTrans fn=document-root root="$docroot"
PathCheck fn=nt-uri-clean
PathCheck fn="check-acl" acl="default"
PathCheck fn=find-pathinfo
PathCheck fn=find-index index-names="index.html,home.html"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
Error fn="error-j2ee"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
AddLog fn=flex-log name="access"
</Object>

<Object name="j2ee">
ObjectType fn=force-type type=text/html
Service fn="service-j2ee" method="*" 
</Object>

<Object name="cgi">
ObjectType fn=force-type type=magnus-internal/cgi
Service fn=send-cgi
</Object>

<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>

<Object name="x-httpd-php"> 
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php" 
    Service fn=php4_execute 
</Object> 



> http://wwws.sun.com/software/products/web_srvr/features.html#5
> とあるので、公式の詳しい資料も探せばどこかにあると思いますよ。
> 営業サイドに直接あたっても良いわけですし。
> 
> >HPだと出来そうなことを書いてあるのですが、実際の設定方法を
> >見つけることができませんでした。
> 
> NSAPIで入れるなら
> http://www.php.net/manual/ja/install.netscape-enterprise.php
> CGIで入れるなら、他のWebサーバのインストールを参考にすれば良いでしょう。


PHP-users メーリングリストの案内