There is no straight forward method for 301/302 URL redirection as we did with rewrite rule. But there are some situations where we need to redirect a URL on a host to some URL on different host. In this situation we need to use 301/302 redirection. There are two ways we can implement this.
First method […]
Apache's archives
URL Redirecting (301,302) in Varnish
Tags: 301, 302, error, rewrite, url redirection, varnish, vcl
Logrotate in linux
Logrotate
Log files are important for Linux system security and trouble shooting. Log files tend to grow, and if a log grows too much you compress it and takes the backup. Logrotate enables you to do this in a much better way. The process that is in charge of compressing and rotating these logfiles is called […]
Apache Load Balance Using Haproxy
Haproxy
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware. Its mode of operation […]
Monitoring services using Mon
Monitoring services using Mon
mon is a general-purpose scheduler and alert management tool used for monitoring service availability and
triggering alerts upon failure detection.
Mon uses some Linux command and services such as ping command to check host connectivity and mail servers for sending mail, so you must install postfix and other packages so that mon should work […]
Monit a service monitoring tool in linux
Monit is a utility for managing and monitoring processes, files, directories and devices on a Unix system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. E.g. monit can start a process if it does not run, restart a process if it does not respond and stop a […]
Continue reading " Monit a service monitoring tool in linux "
Installing Symfony Framework in Ubuntu
Install these packages with apt:
php5
php5-cli
php5-dev
php5-sqlite
php-pear
$ sudo apt-get install php5 php5-cli php5-dev php5-sqlite php-pear
Test if Apache and PHP are up and running typing in the browser:
http://localhost/
You should see something like:
Apache/2.0.55 (Ubuntu) PHP/5.1.2-1ubuntu1 Server at localhost Port 80
From the command line, as root:
$ sudo pear upgrade PEAR
$ sudo pear channel-discover pear.symfony-project.com
Edit /etc/php5/cli/php.ini and change the line:
memory_limit = […]
Search
My MobSpace
More About The Site
Tags
- all Amazon Apache asp autobench background process backup backups catch all catchall cleaning directories deamon digital certificate error favicon fuse google map API Google Map Key httperf http testing image in address bar Iptables Linux mail server mono mount mysql backups mysqldump mysqlhotcopy openload pcntl performance testing PHP php-modules php installation postfix rsync S3-Backup s3fs Shell Script ssh-key ssh-keygen teapop varnish
Categories
- Linux (35)
- Linux Commands (4)
- PHP (8)
- Micellanious (11)
- Mysql (4)
- Shell Script (2)
- Solaris (1)
- Apache (6)
- Tips & Tricks (7)
- Securities (1)
- Iptables (3)
Archives
- October 2008 (2)
- September 2008 (2)
- August 2008 (1)
- July 2008 (4)
- June 2008 (10)
- May 2008 (5)
- April 2008 (2)
- March 2008 (6)
- February 2008 (7)
















