Book Image

Joomla! 1.5 Cookbook

By : Tom Canavan
Book Image

Joomla! 1.5 Cookbook

By: Tom Canavan

Overview of this book

If you are a Joomla! site owner, you must already be aware of how this robust, easy to use, open source content management system can help you build a great looking site instantly. You must also be aware of the many problems that it can throw up from time to time. Find the solutions to all your basic and advanced Joomla! queries, so you don't have to wait for someone on the forums to help you out every time.The Joomla! 1.5 Cookbook will provide you with quick and direct solutions to the most common and uncommon problems faced by you, the Joomla! site owner, sidestepping all the theoretical fuss.Joomla! is the insanely popular, award winning content management system which helps you build professional looking websites, even if you don't have any HTML programming experience or design skills.Although, sometimes you might trip over some common pitfalls which would slow the progress of your website down. This book will help you find a direct and quick way through these common problems which can be easily avoided with a few tips and tricks. It starts of with solutions the most common queries that you might face during the installation and setup for Joomla! 1.5 moving on swiftly to guide you through Joomla! templates, modules, security, managing your users and much more. So the next time when things go wrong with your Joomla! site and you are wondering, for example, how to work with your site's database; just pick up this book and quickly find your way through this.
Table of Contents (18 chapters)
Joomla! 1.5 Cookbook
Credits
About the Author
About the Reviewer
Preface
Index

Using .htaccess and php.ini


Joomla! uses a special file called htaccess.txt that is standard issue on all Apache web servers. This file allows commands to be issued to instruct the webserver to take actions based on certain conditions.

The htaccess.txt file that is in every copy of Joomla!, has several specific instructions that offer some protection against specific types of hacks. Using this file helps avoid some common troubles that may visit your site.

How to do it...

Activating .htaccess protection

Please note before you start that the following steps might already be done.

  1. Using your FileZilla FTP client - login into your site.

  2. Locate the file called htaccess.txt in the root.

  3. Right-click the file.

  4. Choose Rename.

  5. Rename it to .htaccess (don't forget the period before the name).

  6. Test your site to make sure it's operating properly.

  7. Close FileZilla.

The preceding screenshot shows you how to follow these steps.

There's more...

The .htaccess file can provide you many other great tools. In this section...