Question: How can I watch information come into my Linux server logs as they arrive? Answer: Linux has a nifty little command called “tail” that allows you to see the latest log file messages, but that by itself will not show you the latest messages as they arrive in real …
December, 2009
-
15 December
Book Review: ModSecurity 2.5 by Magnus Mischel
Title: ModSecurity 2.5: Securing your Apache installation and web applications Author: Magnus Mischel Publisher: Packt Publishing Price: £26.34 Securing a web server can be a difficult task. Large companies hire professionals or consulting companies to ensure their customers have access to their content and any would-be attackers have access to …
-
4 December
Searching for applications with APT
Using “apt-get install” works perfectly well as long as you know the name of an application, but if you do not, it becomes a guessing game. Fortunately, APT has a search tool you can use to find the applications or types of applications you need for your Linux server. APT …
-
1 December
Website Hosting Apache
Apache HTTP Server is the leading web server software available. It commands nearly 60% of the web server market and over 66% of the 1 million sites with the most traffic. It is developed by the Apache Software Foundation and is released under a free and open source license called …
November, 2009
-
25 November
How to troubleshoot an Internal Server Error
Question: My CGI script is giving me a 500 Internal Server Error. What should I do? Answer: It is one of the most dreaded errors Apache can throw at you: the 500 Internal Server Error. When you get it, you often have no idea what caused it or why. Here …
-
23 November
Deny Access to Any Files
Question: I have a set of files on my website with the extension .rpc. They are financial files, and I want to make sure that no one can access them from the web. Can i do that? Answer: On an Apache server, you can do just about anything, and .htaccess …
-
23 November
How to Save Bandwidth with .htaccess
Question: My dynamic PHP-driven site is popular and is using a lot of bandwidth. What can I do to save that precious bandwidth? Answer: Those of you who have to worry about bandwidth should really consider yourselves lucky. It means that your website has been more successful than the majority …
-
16 November
Alternative Index Entries
Question: How do I configure my website to automatically go to a page other than index.***? Answer: If your web hosting provider is hosting your site using Apache HTTP server, you can accomplish this very easily with an htaccess file. If you do not already have one, create a plain …
-
12 November
New ModSecurity Book
ModSecurity, a free and open source application firewall, is one of the best in the industry. Packt Publishing will soon be releasing a book about the software called ModSecurity 2.5 by Magnus Mischel. “This book is written for system administrators or anyone running an Apache web server who wants to …
-
11 November
Password Protecting Your Directories
Question: How do I password protect a directory on my website? Answer: Many web hosting control panels offer a “password protect” feature for your directories. If not, there is a moderately easy way to do it with an Apache .htaccess file. First, create an .htaccess file that looks like this: …