Bluehost.com Web Hosting $6.95

how to enable PUT reqests for Apache 2

This is a discussion on how to enable PUT reqests for Apache 2 within the Windows Web Servers forums, part of the Web Server and Related Forums category; I'm trying to get my apache server (2.0.55) to accept PUT requests. I'm running winXP pro. ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2007
santoshjoseph73@gmail.com
 
Posts: n/a
Default how to enable PUT reqests for Apache 2

I'm trying to get my apache server (2.0.55) to accept PUT requests.
I'm running winXP pro. I guess I'm doing something thath people don't
usually do...since I can't find any info on the net.
thanks for any help.

  #2 (permalink)  
Old 02-16-2007
Purl Gurl
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

santoshjoseph73@gmail.com wrote:

> I'm trying to get my apache server (2.0.55) to accept PUT requests.
> I'm running winXP pro. I guess I'm doing something thath people don't
> usually do...since I can't find any info on the net.



http://www.apacheweek.com/features/put

Use of the put method is strongly discouraged.

Purl Gurl

  #3 (permalink)  
Old 02-16-2007
Jim Patterson
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

On Thu, 2007-02-15 at 16:14 -0800, santoshjoseph73@gmail.com wrote:

> I'm trying to get my apache server (2.0.55) to accept PUT requests.
> I'm running winXP pro. I guess I'm doing something thath people don't
> usually do...since I can't find any info on the net.
> thanks for any help.
>


Actually, I think it's quite common. Take a look at the WebDAV module
"mod_dav.". It supports PUT and a lot more. WebDAV stands for Web-based
Distributed Authoring and Versioning.

Have fun!


  #4 (permalink)  
Old 02-16-2007
santoshjoseph73@gmail.com
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

On Feb 15, 7:14 pm, Purl Gurl <purlg...@purlgurl.net> wrote:
> santoshjosep...@gmail.com wrote:
> > I'm trying to get my apache server (2.0.55) to accept PUT requests.
> > I'm running winXP pro. I guess I'm doing something thath people don't
> > usually do...since I can't find any info on the net.

>
> http://www.apacheweek.com/features/put
>
> Use of the put method is strongly discouraged.
>
> Purl Gurl



i do know put is strongly discouraged but this is not a public
server. this is internal and work-specific.

  #5 (permalink)  
Old 02-16-2007
santoshjoseph73@gmail.com
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

On Feb 15, 11:38 pm, Jim Patterson <Jim.Patterson.r...@ncf.ca> wrote:
> On Thu, 2007-02-15 at 16:14 -0800, santoshjosep...@gmail.com wrote:
> > I'm trying to get my apache server (2.0.55) to accept PUT requests.
> > I'm running winXP pro. I guess I'm doing something thath people don't
> > usually do...since I can't find any info on the net.
> > thanks for any help.

>
> Actually, I think it's quite common. Take a look at the WebDAV module
> "mod_dav.". It supports PUT and a lot more. WebDAV stands for Web-based
> Distributed Authoring and Versioning.
>
> Have fun!


So, I enabled WebDAV with these statements in my conf file:

LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so

<Location "C:/Tools/Apache Group/Apache2/htdocs/output">
Dav On
<LimitExcept GET HEAD OPTIONS PUT>
Allow from all
</LimitExcept>
</Location>
DavLockDB "C:/Tools/Apache Group/Apache2/DAVLock"

but i still receive "method not allowed" when send a PUT request. any
ideas why?

thanks.

  #6 (permalink)  
Old 02-17-2007
Jim Patterson
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

On Fri, 2007-02-16 at 13:16 -0800, santoshjoseph73@gmail.com wrote:

>
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_fs_module modules/mod_dav_fs.so
>
> <Location "C:/Tools/Apache Group/Apache2/htdocs/output">
> Dav On
> <LimitExcept GET HEAD OPTIONS PUT>
> Allow from all
> </LimitExcept>
> </Location>
> DavLockDB "C:/Tools/Apache Group/Apache2/DAVLock"



You should be using a <Directory> directive here. Location expects a
virtual path. Or, if .../htdocs is your web root, then it might be
sufficient to say
<Location "/output">

You should check logs/access.log and logs/error.log to see if you can
get any more information.


  #7 (permalink)  
Old 02-20-2007
santoshjoseph73@gmail.com
 
Posts: n/a
Default Re: how to enable PUT reqests for Apache 2

On Feb 16, 7:17 pm, Jim Patterson <Jim.Patterson.r...@ncf.ca> wrote:
> On Fri, 2007-02-16 at 13:16 -0800, santoshjosep...@gmail.com wrote:
>
> > LoadModule dav_module modules/mod_dav.so
> > LoadModule dav_fs_module modules/mod_dav_fs.so

>
> > <Location "C:/Tools/Apache Group/Apache2/htdocs/output">
> > Dav On
> > <LimitExcept GET HEAD OPTIONS PUT>
> > Allow from all
> > </LimitExcept>
> > </Location>
> > DavLockDB "C:/Tools/Apache Group/Apache2/DAVLock"

>
> You should be using a <Directory> directive here. Location expects a
> virtual path. Or, if .../htdocs is your web root, then it might be
> sufficient to say
> <Location "/output">
>
> You should check logs/access.log and logs/error.log to see if you can
> get any more information.


Thanks. '<Location "/output">' worked!!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0