RE: HTPostFormAnchorToChunk

I got the same error message on NT Server.
Should I do something to make my server to accept post function?

-----Original Message-----
From: Francois Nicot [mailto:fnicot@silicom.fr]
Sent: Wednesday, December 13, 2000 1:49 PM
To: www-lib@w3.org
Subject: HTPostFormAnchorToChunk



Hi all,

I have the following problem with the postform example
(libwwpre-5.3.0)on solaris 2.7


csh:nicot>>>postform http://munster:8080/dev/formulaires/form8.html
'mot_de_passe=toto'
Looking up munster
Looking up munster
Contacting munster
Writing 1Kbytes
Writing 1Kbytes
Reading...
Done!
Fatal Error: 405 Method Not Allowed (Method Not Allowed)    <--- here !


More over, when I use the sample code in my application
(HTPostFormAnchorToChunk(formfields, anchor, request)) , data provided
by the apache server (Apache/1.3.6 (Unix)) are empty.

does anybody have an idea why it gives this result ?

see part of my app traces below:

Host Event.. READ passed to
`http://munster:8080/RomeoTest/cgi-bin/cgi1.pl'
Read Socket. 671 bytes read from socket 7
HTTP........ Mode is HTTP/1.1 with NO PIPELINING
Host info... New mode is 0 for host 0x822d7e0
Host info... 0x822d7e0 already persistent
Net Object.. Persistent connection set ON succeeded
StreamStack. Constructing stream stack for message/rfc822 to www/present
Error....... Add   2    Severity: 8     Parameter: `OK' Where:
`HTTPNextState'
Host........ passing 17 bytes as consumed to 0x822dbf8
Host........ 654 bytes remaining
MIME header. Date: Wed, 13 Dec 2000 18:30:22 GMT
MIME header. Server: Apache/1.3.6 (Unix) PHP/3.0.12
MIME header. Transfer-Encoding: chunked
MIME header. Content-Type: text/html
Building.... C-T stack from text/html to www/present
StreamStack. Constructing stream stack for text/html to www/present
Building.... Content-Decoding stack
StreamStack. Constructing stream stack for www/cache to www/present
Building.... Transfer-Decoding stack
C-E......... Looking for `chunked'
C-E......... Found...
Chunked..... Decoder stream created
Host........ passing 132 bytes as consumed to 0x822dbf8
Host........ 522 bytes remaining
Chunked..... `203' chunk size: 203
Host........ passing 5 bytes as consumed to 0x822dbf8
Host........ 517 bytes remaining
Host........ passing 515 bytes as consumed to 0x822dbf8
Host........ 2 bytes remaining
Host........ passing 2 bytes as consumed to 0x822dbf8
Host........ 0 bytes remaining
Host Event.. READ passed to
`http://munster:8080/RomeoTest/cgi-bin/cgi1.pl'
Read Socket. 5 bytes read from socket 7
Chunked..... `0' chunk size: 0          <---- strange

On Netscape 4.5 http://munster:8080/RomeoTest/cgi-bin/cgi1.pl provides
data whenever the form is sent with no values.

thanks a lot for answering.
-- 
Francois NICOT     fnicot@silicom.fr
SILICOM Region Ouest  02 99 84 17 17
80, avenue des buttes de Coesmes
35700 RENNES

Received on Wednesday, 13 December 2000 14:09:35 UTC