HTTP Status Codes for Beginners

All valid HTTP 1.1 Status Codes simply explained. This article is part of the For Beginners series.

HTTP, Hypertext Transfer Protocol, is the method by which clients (i.e. you) and servers communicate. When someone clicks a link, types in a URL or submits out a form, their browser sends a request to a server for […]



Firewall and SElinux is Disable

Server IP :- Hostname :-   Client IP :- Hostname :-   1.Package Requirement :-   # yum install httpd php # yum install gcc glibc glibc-common # yum install gd gd-devel   2.Create Nagios user and group :-   # useradd -m nagios […]

password protected directory in tomcat

How to protect a web directory with a password? if we are using Apache, we can do it easily with .htaccess. It will prompt user for credentials while entering the directory. But how to protect a directory with password in tomcat web server? In this post we will discuss how to do it with tomcat Realms. This example […]

Configuring multiple domains or sub-domains in tomcat

We all know how to create multiple domains in Apache. By adding virtual host etries. But how to configure multiple domains in tomcat? We can do this by adding multiple Host tags in server.xml. Its very simple. See the example below. Edit server.xml under conf directory. Suppose you want to setup three domains, and […]

url redirection in apache using proxypass

Url redirection in Apache web server.

Here is a small example of url redirection in Apache using proxypass. I used this when I was using Apache as proxy to Apache tomcat using mod_jk.

Example: you want to forward www.yourdomain.come/abc      to

Here is how you can do it. Open httpd.conf in your favorite editor. Add the following lines. ProxyPass /abc         […]

Securing Tomcat with Apache Web Server mod_proxy

Securing Tomcat with Apache Web Server mod_proxy  

I wanted to enable SSL encryption to allow secure channels (https) to our tomcat server. There were 2 obvious ways to do this:

Secure Tomcat directly Secure an Apache web server front-end that controls access to tomcat

Secure Tomcat directly

Securing tomcat directly is fairly straight-forward and […]

Piranha LVS

load balanced and redundant solution for a squid proxy server. My primary goals were simplicity and redundancy. I started with a stand-alone squid proxy server (CentOS 6, squid, NTLM authentication). Alone, this works great for an AD environment; single sign-on authentication so no password prompt, integrates with AD groups for various access levels, auto-proxy config […]

Linux File Find command to find and xargs Detailed

Find command general form;

find pathname-options [-print-exec-ok …]

2, find the parameters of the command;

pathname: the find command to find the path to the directory. For example, used to represent the current directory, use / to represent the system root directory. -Print: find command files that match the output to standard […]

IPTABLES firewall script generated online website

According to the website wizard can automatically generate the IPTABLES firewall wall script!

1, Bifrost-GUI firewall management interface to iptbales [Url] [/ url]

2, LinWiz-Linux configuration file and scripting Wizards [Url] [/ url]

3, GIPTables Firewall-IPTABLES Rules Generator [Url] [/ url]

4, Easy Firewall Generator for IPTables [Url] […]

(13)Permission denied: make_sock: could not bind to addres

Permission denied: make_sock: could not bind to address   Stopping httpd:                                            [FAILED]Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:88(13)Permission denied: make_sock: could not bind to address listening sockets available, shutting downUnable to open logs                                                           [FAILED]

In apache, this type of error occurs at the time of starting the service after editing the […]

Page 1 of 212