1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Enabling PUT and DELETE methods

Discussion in 'Apache' started by tsame, Sep 26, 2016.

  1. #1
    Hello. I am running Apache on my raspberry pi and wanted to enable the PUT and DELETE HTTP method for testing.
    I tried adding the following to the .htaccess file in one of the browsesable directories: /var/www/test/

    <Limit GET POST PUT DELETE>
    order deny,allow
    allow from all
    </Limit>

    However, testing with DELETE /test/arbitary_file
    returns 400 error code and the arbitary_file is not deleted

    Some topics regarding this on the net mention editing the httpd.conf file, but it is not present in the pi
    SEMrush
     
    tsame, Sep 26, 2016 IP
    SEMrush