This article provides information about the installation and basic configuration of Apache Tomcat on RHEL and its clones.
Tag Archives: html
Write Custom Redirector or Rewritor Plugin For Squid in Python
Mission
To write a custom Python program which can act as a plugin for Squid to redirect a given URL to another URL. This is useful when already existing redirector plugins for Squid doesn’t suit your needs or you want everything of your own.
Use Cases
- When you want to redirect URLs using a database like mysql or postgresql.
- When you want to redirect based on mappings stored in simple text files.
- When you want to build a redirector which can learn by itself using AI techniques
Continue reading
Convertire BR multipli in un solo BR con una espressione regolare in PHP
Può capitare di dover convertire BR multipli da un testo HTML in un solo BR. Segue il codice PHP che permette di farlo:
$txt = preg_replace("/(<br\s*\/?>\s*)+/", "<br/>", Continue reading Menu html/css/js che scompare sotto i video di youtube o video in flash
Se avete nel sito un menu a discesa e subito sotto un video con codice embed di youtube o comunque in flash, avrete notato che il menu scompare sotto il video che praticamente lo copre. Cercando di modificare Continue reading
Come fare redirect tramite htaccess in base all’indirizzo IP
Potrebbe capitare di dover fare manutenzione al codice del proprio sito web; in questo caso la cosa ideale è preparare una pagina web con le indicazioni sullo stato di manutenzione e far si che solo il Continue reading
Anyterm
SNMPD – Simple Network Management Protocol Daemon to respond to SNMP requests
MRTG uses SNMPD to collect information on the Network Traffic of a Computer/ Router.
Contents |
NTP – Network Time Protocol
In order to keep the server with an accurate timekeeper – the server is setup to update its time via ntp.hea.net. This server can then if require, act as a ntp server for a local network.
To Install:
apt-get Continue reading