Getting started:
Related tutorials:
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
Getting started:
Related tutorials:
| #By http://hackers.zone/ | |
| # Place this file in your /etc/yum.repos.d/ directory | |
| [epel-httpd24] | |
| name=httpd-2.4 scl | |
| baseurl=http://repos.fedorapeople.org/repos/jkaluza/httpd24/epel-$releasever/$basearch/ | |
| enabled=1 | |
| skip_if_unavailable=1 | |
| gpgcheck=0 |
| 100.11.81.74 | |
| 100.15.114.155 | |
| 100.15.39.173 | |
| 100.16.230.154 | |
| 100.33.146.150 | |
| 100.36.142.10 | |
| 100.38.63.127 | |
| 100.38.8.218 | |
| 101.100.141.55 | |
| 101.100.144.174 |
| #!/bin/bash | |
| #Script to process ip ranges to ban using IPSet and IPTables | |
| ipset create countryblock hash:net | |
| while read line; do ipset add countryblock $line; done < blocklist.txt | |
| iptables -I INPUT -m set --match-set countryblock src -j DROP |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Copyright (C) 2008-2013 Edgewall Software | |
| # Copyright (C) 2008 Eli Carter | |
| # All rights reserved. | |
| # | |
| # This software is licensed as described in the file COPYING, which | |
| # you should have received as part of this distribution. The terms | |
| # are also available at http://trac.edgewall.com/license.html. |
| #!/bin/sh | |
| # | |
| # nginx - this script starts and stops the nginx daemin | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
| # proxy and IMAP/POP3 proxy server | |
| # processname: nginx | |
| # config: /etc/nginx/nginx.conf | |
| # pidfile: /var/run/nginx.pid |