Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: 501 NOT IMPLEMENTED |
|
Author |
|
kekko5
Joined: 14 Apr 2024 Posts: 1
|
Posted: Sun 14 Apr '24 12:26 Post subject: 501 NOT IMPLEMENTED |
|
|
Hi guys, I'm approaching Apache for the first time, I would like to understand how to deny or allow http methods (I would especially like to activate DELETE).
Any ideas? |
|
Back to top |
|
Stray78
Joined: 15 Apr 2024 Posts: 22 Location: USA
|
Posted: Tue 16 Apr '24 2:50 Post subject: |
|
|
You can do this right in your config file. In the directory section like this...
<Directory "/">
# This Allows Only Certain Methods
<LimitExcept HEAD GET POST>
Require all denied
</LimitExcept>
</Directory>
Or in a location tag...
<Location "/">
AllowMethods GET POST OPTIONS
</Location> |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7360 Location: Germany, Next to Hamburg
|
Posted: Sun 28 Apr '24 20:46 Post subject: Re: 501 NOT IMPLEMENTED |
|
|
kekko5 wrote: | Hi guys, I'm approaching Apache for the first time, I would like to understand how to deny or allow http methods (I would especially like to activate DELETE).
Any ideas? |
The DELETE method is either implemented by mod_dav or by your own software (scripting language):
What do you want to do with it? |
|
Back to top |
|
|
|
|
|
|