Confused - obj.conf
I am attempting to configure Web Server 6.1 to support an application that uses HTTP 1.0 and expects a content-length header in the response. The response is generated from a php script (index.php). The php script does not generate the header itself.
Here is my modified obj.conf:
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
AuthTrans fn="match-browser" browser="*" http-downgrade="1.0"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn=pfx2dir from=/mc-icons dir="/opt/SUNWwbsvr/ns-icons" name="es-internal"
NameTrans fn=document-root root="$docroot"
PathCheck fn=unix-uri-clean
PathCheck fn="check-acl" acl="default"
PathCheck fn=find-pathinfo
PathCheck fn=find-index index-names="index.php"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service fn="match-browser" browser="*" http-downgrade="1.0" UseOutputStreamSize="8192"
Service fn="php5_execute" type="magnus-internal/x-httpd-php"
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
Service method=TRACE fn=service-trace
Error fn="error-j2ee"
#AddLog fn=flex-log name="access"
AddLog fn=flex-log name="extended"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</Object>
<Object name="cgi">
ObjectType fn=force-type type=magnus-internal/cgi
Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="send-compressed">
PathCheck fn="find-compressed"
</Object>
<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>
What is confusing is:
1. Why do I need the http-downgrade=1.0 twice - once in AuthTrans and once in Service?
2. How come this works at all since the server should stop at the first Service entry, i.e. the match-match browser one and not call the PHP.
3. Why does this only work for GET and not for POST ?
Any help would be greatly appreciated.

