Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-14-2017, 11:12 PM   #1
Registered: Sep 2005
Posts: 856

Rep: Reputation: 30
Webserver that will log accept a POST request and respond with 200 OK

Is there an issuer way on doing this? Like having a server that will just log any post requests passed to it and respond with 200 OK? A docker container that has this will be great.
Old 03-14-2017, 11:33 PM   #2
Registered: Mar 2015
Distribution: Linux Mint
Posts: 633

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Just guessing.. but for nginx

server {
  listen 80;

  root /var/www;
  access_log /var/log/nginx/access.log main;

  server_name mysite.domain.tld;

  location / {

        limit_except POST {
            return 404
            deny  all;
        return 200;
reference url
Old 03-16-2017, 07:17 PM   #3
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
try to restore a backup of your (apache) configuration and the whole website, diff -r the whole thing to see what changed

usually you'll find you've changed directory / file permissions somewhere accidentally


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is this enough for a webserver of 200 clients dinakumar12 Linux - Server 2 04-28-2011 03:28 PM
Webserver freezes, apache doesnt respond fxandrei Linux - General 7 09-27-2009 09:45 AM
can you respond to rdate request with an ntp server? sir-lancealot Linux - Server 1 08-08-2007 05:22 PM
respond on the interface request came in piti Linux - Networking 0 07-15-2003 05:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration