Posted by TechFiz on December 28, 2008
I had dedicated few days of past few weeks for Debian in search of stable, secure and reliable solutions. With Debian, I ended up finding robust solutions for lots of questions which we had while setting up LAN resources. Debian net install CD which weighed around 160MB was more than enough to get started. I [...]
Posted by TechFiz on December 18, 2008
To redirect http requests to https on your Apache web server use .htaccess and add the following rewrite rules. RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L] You can also add it inside the virtual host entry of the domain for which you need this redirect.
Posted by TechFiz on December 11, 2008
Hit with segfault while restarting apache? Segmentation Fault $HTTPD -k $ARGV Check if any one recompiled apache and other modules recently. If yes, try recompiling Apache or the module in question once again. See if there is any other error while compiling which might lead you to the root cause. Also check if there is [...]
Posted by TechFiz on November 20, 2008
When I see my website loading very slow, I get irritated as I want that to load fast on any type of Internet connection. Because, I’m trying to reach out to all… Step by Step take action on website optimization and speed up your website. All it takes is the hacking mentality which lets you [...]
Posted by TechFiz on October 15, 2008
In my previous blog post : suPHP, mod_php and phpsuexec I told you why we use su_PHP on Cpanel servers and what are the benefits etc.Now, If you find a reason for disabling for an annoying customer on one of your servers, what you do? Simple, just add the following line into VirtualHost entry of [...]
Posted by TechFiz on October 10, 2008
Unable to restart apache successfully. Frist, check error logs: tail -f /usr/local/apache/log/error_log If you find something like : [Fri Oct 10 00:11:01 2008] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run? semget: No space left on device It means, There is no more space left in Semaphore Arrays for Apache. Read [...]