@xor How permanent does it have to be? :)
while true ; do echo -e "HTTP/1.1 301 Moved Permanently\nLocation: http://example.com/\n\n" | nc -l 8080 ; done
@xor How permanent does it have to be? :)
while true ; do echo -e "HTTP/1.1 301 Moved Permanently\nLocation: http://example.com/\n\n" | nc -l 8080 ; done
what's the quickest little server to serve _only_ 301 redirects to a given page? I had a reason to do that yesterday and was surprised that I couldn't do it in a one-liner
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.