Archive for November, 2006
Example:
A reseller wants to set his primary domain from www.xxx.com to www.aaa.com
Instructions:
You’d have to create another user for the User Level data.
Continue Reading »
Change Reseller’s Primary Domain
Many users want a quick and easy way to change their Email password.
This patch allows you to change the login form of SquirrelMail so a ‘Change Password‘ button appears.
Continue Reading »
Add a ‘Change Password’ button to SquirrelMail
Compile Apache + (phpsuexec, not required) + php4 (mod_php4 or cgi) + php5 (cgi)
I’m using Apache 1.3.37 + phpsuexec coming with cPanel + custom php 4.4.7 compiled as cgi (actually you may use the Apache Update via WHM to compile working php4 in cgi mode/phpsuexec) + custom php 5.2.3 compiled as cgi (it is easy to do as well, I will explain)
php5 works the same as php4 and it saves the permissions and etc.
E.g. no problems with nobody as well.
Continue Reading »
Howto Install PHP4 & PHP5 on cPanel
Restricting Access to Your Web Pages Using .htaccess
Follow these steps to create a text file:
- Create a text file called .htaccess in the directory that you want to protect.
- Type
<Limit GET>as the first line of the file. - Use the deny and allow directives as described above to define your restrictions.
- Type
</Limit>as the last line of the text file. - Save your .htaccess file.
- Release your collection to Test and if everything is ok, to Publish.
Did you ever want to change or create a new login message anytime someone logs into SSH? We’ll show you how it’s done.
First off login to your server as root. Then type in the following:
pico -w /etc/motd
Now type in the security login message you wish all users to see once they login to your server through SSH.
Try something like this as a start:
Continue Reading »
Creating a Welcome Message for SSH Logins
Server headers and directory defaults usually show Apache server information.
This information can be used by hackers to learn about vulnerabilities on your server if the system is not updated.
You can mask server information as follows:
Continue Reading »
Mask Apache Server Version Number
Want to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you’re dealing with the super user account. We recommend that you use an email address not hosted on the server your sending the alert from.
So lets get started!
Continue Reading »
Email Alert on Root SSH Login