WebSphere HTTP Server - Httpd and Httpd.conf Confusion Please Clarify ?

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere HTTP Server > May 2004 > Httpd and Httpd.conf Confusion Please Clarify ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Httpd and Httpd.conf Confusion Please Clarify ?
James

2004-04-30, 5:33 am

I am using Linux Machine.
I want to use HTTP for File Transfers.

I can "GET" a file. Where as "PUT" is a problem.

I am getting an error."The Requested Method PUT is NOT allowed for the
URL. /hello.txt"

I searched the Web and included the line in httpd.conf
<LIMIT GET POST OPTIONS PROPFIND PUT>
Allow from all
</LIMIT>

But still i am getting the same error. What to do ?.

I read the documentation. But What i think it says is u must have some
script in cgi/perl language to handle the put command.

I Did NOT understand the what it means. I just want to store some
files
in the remote machine using HTTP.
I am confused with the available documention.

Does this mean,
If I Dont know CGI I cannot handle the "PUT".

What to do ?.

I am confused ?.


Please Help.


Regards,
James
Sunit Patke

2004-04-30, 10:33 am

PUT method is used to submit information to the server, usually action from
a form.
You have to code something on the server side to handle that. If you google
for it, you will find lot of sample code to achieve this.

Sunit

"James" <james_sparker@yahoo.co.uk> wrote in message
news:2f387db9.0404300113.c0228f7@posting.google.com...
> I am using Linux Machine.
> I want to use HTTP for File Transfers.
>
> I can "GET" a file. Where as "PUT" is a problem.
>
> I am getting an error."The Requested Method PUT is NOT allowed for the
> URL. /hello.txt"
>
> I searched the Web and included the line in httpd.conf
> <LIMIT GET POST OPTIONS PROPFIND PUT>
> Allow from all
> </LIMIT>
>
> But still i am getting the same error. What to do ?.
>
> I read the documentation. But What i think it says is u must have some
> script in cgi/perl language to handle the put command.
>
> I Did NOT understand the what it means. I just want to store some
> files
> in the remote machine using HTTP.
> I am confused with the available documention.
>
> Does this mean,
> If I Dont know CGI I cannot handle the "PUT".
>
> What to do ?.
>
> I am confused ?.
>
>
> Please Help.
>
>
> Regards,
> James



Aaron W Morris

2004-04-30, 3:33 pm



James wrote:

> I am using Linux Machine.
> I want to use HTTP for File Transfers.
>
> I can "GET" a file. Where as "PUT" is a problem.
>
> I am getting an error."The Requested Method PUT is NOT allowed for the
> URL. /hello.txt"
>
> I searched the Web and included the line in httpd.conf
> <LIMIT GET POST OPTIONS PROPFIND PUT>
> Allow from all
> </LIMIT>
>
> But still i am getting the same error. What to do ?.
>
> I read the documentation. But What i think it says is u must have some
> script in cgi/perl language to handle the put command.
>
> I Did NOT understand the what it means. I just want to store some
> files
> in the remote machine using HTTP.
> I am confused with the available documention.
>
> Does this mean,
> If I Dont know CGI I cannot handle the "PUT".
>
> What to do ?.
>
> I am confused ?.
>
>
> Please Help.
>
>
> Regards,
> James


I believe PUT is a WebDAV method. If WebDAV has not been configured for
your instance, the PUT method will not be available to you. You can
check using the OPTIONS method.

--
Aaron W Morris <aaronmorris@mindspring.com> (decep)

Ray McVay

2004-05-01, 1:33 pm

In order to upload through the httpd, regardless of the technique, you
have to do something special. I don't know of a server that handles PUT
by default so if you want to use that method you have to install a
handler for PUT. As Aaron said that would typically be through a WebDAV
module. The most common way to do this, though, is not through the PUT
method but through a form-based upload using POST. See
http://www.ietf.org/rfc/rfc1867.txt for info on that. It's supported by
common CGI, ASP and Java libraries.

James wrote:
> I am using Linux Machine.
> I want to use HTTP for File Transfers.
>
> I can "GET" a file. Where as "PUT" is a problem.
>
> I am getting an error."The Requested Method PUT is NOT allowed for the
> URL. /hello.txt"
>
> I searched the Web and included the line in httpd.conf
> <LIMIT GET POST OPTIONS PROPFIND PUT>
> Allow from all
> </LIMIT>
>
> But still i am getting the same error. What to do ?.
>
> I read the documentation. But What i think it says is u must have some
> script in cgi/perl language to handle the put command.
>
> I Did NOT understand the what it means. I just want to store some
> files
> in the remote machine using HTTP.
> I am confused with the available documention.
>
> Does this mean,
> If I Dont know CGI I cannot handle the "PUT".
>
> What to do ?.
>
> I am confused ?.
>
>
> Please Help.
>
>
> Regards,
> James

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com