Sometime you may want to be able to “switch off” some web-application for particular reasons e.g. spamflooding or abuse of a REST service but you may want to enable information retrieval.
Most web applications like wordpress, mediawiki or other web 2.0 applications follow RFC 7231 where GET is defined as the primary method for information retrieval (RFC 7231, 4.3.1). Somewhere is defined that GET SCHOULD NOT be used for changing information (deleting, writing).
Just put something like this in your apache config (in VirtualHost):
# deny everything but GET
Deny from all
- How do I edit current shell command in VI
- Answer 1
- emacs-mode: Ctrl+X Ctrl+E
- Answer 2
- vi-mode: [Esc][v]
Source: bash – How do I edit current shell command in VI – Ask Different
sm-mta: STARTTLS=server: file /etc/mail/certs/dh.param unsafe: No such file or directory
cd /etc/mail/certs && openssl dhparam -out dh.param 4096
Source: Sendmail Error at Boot
You have a FreeBSD VPS with a single IP and you wish to create a FreeBSD jail for additional security and/or isolation. For this write up I’ll illustrate how you can use a single VPS with a jail create on an internal IP with both NAT access and port-forwarding to the jail for specific ports (web, ssh, etc).
Source: FreeBSD Jail with Single IP » KBeezie