Category Archive: Apache

Aug
31

Install mod_xsendfile

What is mod_xsendfile ? mod_xsendfile is a apache2 module that processes x-sendfile headers registered by the original output handler. This process will speed up your private file transfers.   How to install mod_xsendfile  on Linux server?   1) Login to server as root 2) Download file mod_xsendfile.c from HERE 3) execute command #apxs -cia mod_xsendfile.c …

Continue reading »

Jul
04

Redirect error page

How to redirect error page ? If you wish to redirect 404 error page to main domain or another custome page do following. 1) Create a .htaccess file in document root of your domain and and add following code. #will redirect 404 error page to your domain. ErrorDocument 404 http://www.your-domain-name.com #Add following line if you …

Continue reading »

Mar
30

Check current apache modules

You can check apache modules by using following command: /usr/local/apache/bin/httpd -l OR httpd -l Above command will list all current apache module installed ons server .   <!–WP_PAYPAL_DONATION_–> contact@webhostingsupport.info

Mar
29

How to add wild card DNS

In wild card DNS anything.domainname will show the domain name page. A wild-card character is similar to a wild card in a card game, which may represent any other card in the deck. For eg accessing xyz.domainname.tld will show domainname page. Following are the steps to set wild card DNS. 1) Edit domainname.db file with …

Continue reading »

Mar
29

Disable Core Dumps

Core dump file are taking more disk space. To disable generation of core file you will need root access to server. 1)  ssh the server as root. 2) Edit /etc/init.d/httpd and following under ulimit -n ulimit -c 0 3) Restart httpd service contact@webhostingsupport.info

Older posts «