DELETE and PUT Request Support (RESTful)

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

DELETE and PUT Request Support (RESTful)

Postby spinoza21 » 29. March 2011 00:16

Hi Folks,
I have been racking my brain to figure out how to get XAMPP to support PUT and DELETE requests. Within linux all I needed to do was a simple "sudo a2enmod dav" and I was off to the races but I can't seem to sort out what I need to do to get Apache within XAMPP to give anything but a 503 "Access Forbidden" error.

I added "LoadModule dav_module modules/" to my httpd configuration but still no luck.

Anyone have any thoughts? Thanks.
Posts: 1
Joined: 29. March 2011 00:12

Re: DELETE and PUT Request Support (RESTful)

Postby tpetrone » 08. February 2012 17:57

Unanswered for over a year, but ...

I am using http-userdir with vhosts on XAMPP Release - 1.7.2

Modifying the <LIMIT > and <LIMITEXCEPT> to include all your request types (PUT DELETE POST GET).

I believe this should work !

My base config is below:

Code: Select all
# Settings for user home directories
# Required module: mod_userdir

# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.  Note that you must also set
# the default access control for these directories, as in the example below.
UserDir Sites

# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
<Directory "/Users/*/Sites">
    AllowOverride FileInfo AuthConfig Limit Indexes
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        Order allow,deny
        Allow from all
        Order deny,allow
        Deny from all

Posts: 2
Joined: 25. February 2011 17:32

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 6 guests