October 2012
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

October 2012
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

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 […]

NAGIOS

Nagios

Firewall and SElinux is Disable

Server IP :- 192.168.0.10 Hostname :- shashi.example.com Client IP :- 192.168.0.11 Hostname :- client.example.com 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 # passwd nagios # usermod […]

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 […]

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 domain1.com, domain2.com […]

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 www.yourdomain.com/linux/commands/abc

Here is how you can do it. Open httpd.conf in your favorite editor. Add […]

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 is […]

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] http://bifrost.heimdalls.com/ [/ url]

2, LinWiz-Linux configuration file and scripting Wizards [Url] http://www.lowth.com/LinWiz/ [/ url]

3, GIPTables Firewall-IPTABLES Rules Generator [Url] http://www.giptables.org [/ url]

4, Easy Firewall Generator for IPTables [Url] http://morizot.net/firewall/gen […]

(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 0.0.0.0:88no 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 […]