Archive for March, 2006

Enable html files in Apache to process SSI directive

What is SSI ?
SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.To permit SSI on your server, you must have mod_include installed and enabled. Additionally, you must have the above directive either in your httpd.conf file, or in a .htaccess file. You should place the following lines in the .htaccess file to allow SSI directives to be included in the .html or .htm files

AddHandler server-parsed .html
AddHandler server-parsed .htm
AddType text/html html

How can i view maillog for one domain in Linux ?

SSH into root and type :

cat /var/log/exim_mainlog | grep “domain.com” > logfile.txt

this should create a file called logfile.txt with the desired mail log for domain.com

Syctl.conf Hardening

The purpose of syctl hardening is to help prevent spoofing and dos attacks. This short guide will show what I have found to be a good configuration for the sysctl.conf configuration file. The most important of the variables listed below is the enabling of syn cookie protection. Only place the bottom two if you do not want your server to respond to ICMP echo, commonly referred to as ICMP ping or just ping requests. More >

Modify the Joomla 1.0.8 htaccess

As some of you might have noticed , after the recent Fantastico upgrade for Joomla to 1.0.8 , netenberg have choosen to install a default .htaccess file which forces you to either run “AllowOverride All ” in your httpd.conf , which in my opinion is a security issue or disable “FollowSymLinks ” in the .htaccess file
This guide will show you how to disable “FollowSymLinks ” in the .htaccess file by default on your netenberg Masterfile so you wont get this nasty 403 error after a normal instal or upgrade to Joomla 1.0.8 with fantastico

More >

Joomla 1.0.8 install error

morfargekko reports:
The new upgrade in Fantastico to Joomla 1.08 has introduced a little bug which can be easily fixed:

For new or upgrade installs of joomla it seems to come up with a 403 error which is the result of an incorrect .htaccess file line.
To fix this just log into cPanel> filemanager (or use FTP) and  go to the .htaccess file and commented out the "Options FollowSymLinks" line in the default Joomla .htaccess file .

Hopefully the Joomla and Fantastico Dev Team while introduce a fix for this little bug soon, in the meanwhile this little hack will do the trick for you.
More >

Will Googles Writely dethrone Microsoft?

With Google’s acquisition of Writely, I really find it hard to swallow that Microsoft is just going to bite the dust in a matter of months like everyone seems to be predicting. Microsoft has a death grip on the Office market, just like Apple does with the iPod market, and it will take an awful lot of kicking and screaming to get the entire world to switch over to Google’s Writely. It’s not even who has the better product that is the key factor here, it is more a matter of familiarity and entrenchment. If you ask anyone in my office, or most offices in the country, regardless of if they use mac or PC, and they will tell you they use word, and secondly "what is Writely?" Even if Google outsmarts Microsoft in some key arenas like search and click-driven marketing, they will mostly likely never be able to throw down the current king of the hill. Unless corporate America grows some organic tech-savvy in jars and downloads it to all their people overnight, I just don’t see it.
More >

UNIX vs. Windows- What server operating system should you use for your web host

So you’ve decided to create a website? The most obvious thing that you need is of course web hosting. Among other things, like cost and features, you’ll need to decide which server you’ll need: Windows (NT, 2000 or XP) or Unix (Linux, FreeBSD, OpenBSD, etc.).
More >

Disable Smart Errors

Disable smart errors in cPanel is a simple task, login to your server and execute;
touch /var/cpanel/disablesmartcheck
This should now create the file /var/cpanel/disablesmartcheck
Now proceede to updating cPanel to complete the process by executing;
/scripts/updatenow
This may take a few minutes to fully update cPanel, once complete smart errors will now be disabled
More >

Install APF Firewall on a cPanel sever

To install APF firewall login to your server as root and follow this tutorial
More >

Security Guide for cPanel servers

You must keep your box secure at all times, getting compromized could lead to dataloss, which means you loose clients which isnt a very good way to run your buisness. You dont have to be an expert, there are just simple instructions you have to follow, check your box daily for any unknown proccesses, cheak on your clients regularly to make sure they are not up to no good. The easiest of steps can make you that one bit more secure which helps.
More >