Home » Web Server » Apache

ConfigServer ModSecurity Control

This is an exclusive! and free! add-on product for cPanel/WHM. The product provides you with an interface to the cPanel mod_security implementation from within WHM. With ConfigServer ModSecurity Control you can: Disable mod_security rules that have unique ID numbers on a global, per cPanel user or per hosted domain level Disable mod_security entirely, also on [...]

Howto: Apache adding new modules

Some one posted about, “What is Modules in Linux and how to add it in apache,” on our forum. Therefore, I decided to create a small howto for adding new modules under Apache. The Apache HTTP Server is a modular program. So as a UNNIX/Linux administrator you can choose the functionality to include in the [...]

Mapping subdomains to parametered web pages in Apache

Mapping john.webserver.com to http://www.webserver.com/user.php?name=john is just by changing a few parameters in http.conf file In httpd.conf file, <VirtualHost se.rv.er.ip.ad.re.ss> ServerAdmin info@servername.com DocumentRoot /var/www ErrorLog /var/log/apache/apache-error.log TransferLog /var/log/apache/apache.log ServerName www.servername.com ServerAlias *.servername.com RewriteEngine on RewriteCond %{HTTP_HOST} !^www.* [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.servername\.com RewriteRule ^/$ http://www.servername.com/user.php?user=%1 </VirtualHost> The lines for this feature, RewriteEngine on activating rewrite option RewriteCond [...]

Redirect browser to use SSL

ou can redirect browser to use SSL secure port using .htaccess file with Rewrite Rules. Create a .htaccess file with the below Rewrite rule. Options +FollowSymLinks RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^ https://secure.yourdomain.com%{REQUEST_URI} [NS,R,L]

Apache give each user their own cgi-bin directory

Apache has public_html directory support. With this you specify the name of the directory which is appended onto a user’s home directory if a ~user request is received. For example http://domain.com/~rocky/file.html will be rocky’s home directory /home/rocky/public_html/file.html. Recently I took small part time job to setup web server for university. I want to give every [...]

Installing Apache Php, and modules easily with ApacheToolbox

If you ever lost with Apache modules or if you find it difficult to download and configure all needed modules then ApacheToolbox is the answer to all your question. It is use to configures Apache with a variety of options and modules. It provides a means to compile Apache with 63 3rd party killer modules [...]

Howto: enable HTTP Compression

How to enable HTTP Compression? In order to enable compression, you will need compression modules compiled with Apache. Apache 1.x needs mod_gzip and Apache 2.x need mod_deflate compiled with it. If  you have these module installed, you need to edit your Apache configuration file locate at “/etc/httpd/conf/httpd.conf” file and add the following lines to it: [...]

Apache restrict access based on IP address to selected directories

Apache web server allows server access based upon various conditions. For example you just want to restrict access to url http://payroll.nixcraft.in/ (mapped to /var/www/sub/payroll directory) from 192.168.1.0/24 network (within intranet). Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module. Open your httpd.conf file: # [...]

Linux: Forcing Apache to correct misspellings of URL

Apache has mod_speling for automatic URL spell-correction. For example when on this site you can request the page using following format: This module help visitor to get correct content instead of error 404 – document not found and you can also omit file extension such as .pl, .php, .html etc in urls references. It attempts [...]

Installing mod_geoip For Apache2 On Fedora 9

This guide explains how to set up mod_geoip with Apache2 on a Fedora 9 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server [...]

Enter your email address:

Liên Kết Website

web design | Shared linux windows problems | Dedicated server | website chất lượng cao | hosting chất lượng cao | Tutorial video collection | Troubleshooting Tips and Tutorial