Web

How to enable mod_rewrite in apache2

1. First install the apache with this command:

apt-get install apache2

2. Now use locate to find if the mod_rewrite.so is availble on your server:

updatedb

locate mod_rewrite.so

it will found in “/usr/lib/apache2/modules”

3. New apache follow some folders to enable and disable mods so now do this:

cd /etc/apache2/mods-enabled

touch rewrite.load

vim rewrite.load (you may use any editor to edit this file)

4. Now paste this following line:


G-WAN – Fastest Webserver Ever

G-WAN is using full ANSI C scripts and is a FREE Web App. server.

G-WAN redefined the static Web content hierarchy on  Linux. Now, G-WAN redefines the standards of dynamic Web content generation.

On a gigabit LAN, ApacheBench compared G-WAN , IBM Apache+PHP, SUN GlassFish+Java and Microsoft IIS+C#.

Result, G-WAN does the job with 5 million times less servers. See images below:

Loan 100 years (131.4 KB):

image


How to Download Entire Website using Wget for offline Viewing

Wget is a free utility for non-interactive download of files from the Web.  It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.

Using Wget to download entire website:

Step 1. Create directory where you are planing to store the website content:

mkdir /home/user/offline_site


How to Manage Apache Resources Limits With mod_slotlimit

mod_slotlimit is an Apache module that using dynamic slot allocation algorithm and static rules, can manage resources used for each running site.

Step 1. Preparing Your system

In order to compile mod_slotlimit, you will need to have apxs2 (APache eXtension tool) installed and configured with Apache.

Use the following command to install

apt-get install apache2-prefork-dev build-essential

Step 2. Download the source package from here

wget http://kent.dl.sourceforge.net/sourceforge/mod-slotlimit/mod_slotlimit.tar.gz

Step 3. Open archive, compile and install module with those commands:


How to install Phpsysinfo in Debian

phpSysInfo is a PHP script that displays information about the host being accessed.
It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.

Step 1. Requirements

Web server (apache2) with php4 or later.

Step 2. Installing phpsysinfo

apt-get install phpsysinfo

After completion of your installation this program automatically located at apache2 default document root directory /var/www/phpsysinfo/ folder.


Social Media

  
FeedBurner Subscribe



Categories

Page 7 of 8« First...45678
Copyright © 2012 Linux Debian Tutorials | Debian Squeeze Tutorials. All rights reserved.
↑ Back to Top