Project

General

Profile

[Solved] need config option to enable the OPTIONS method in lighty to avoid CORS warnings

Added by kevnews about 12 years ago

Our current installation of lighttpd returns a 400 when the OPTIONS command is presented from the browser via our CORS-compliant cross-domain ajax request.

We need to enable the OPTIONS command as a valid command (like PUT, GET, POST) and also control what is returned.

Any help appreciated on how to modify our configuration file to allow the OPTIONS command and configure the response.

tia,
ken


Replies (2)

RE: need config option to enable the OPTIONS method in lighty to avoid CORS warnings - Added by kevnews about 12 years ago

it appears this is included in the webdav module.....

RE: need config option to enable the OPTIONS method in lighty to avoid CORS warnings - Added by gstrauss over 3 years ago

This was addressed in lighttpd 1.4.54 (released May 2019)
reference: #2939

    (1-2/2)