Support Joomla!

1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 41 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow FAQs

APACHE: How do I block directory scans with .htaccess?
Author(s):RliskeyExperience level:Beginner
Contributors:Joomla! version:1.0
Date added:Tuesday, 30 November 1999Date last changed:Friday, 06 July 2007
 

Directions

You can add Apache rewrite rules to your .htaccess file. For example, the following will redirect all attempts to access files with names starting with, "phpMyAdmin" to index.php.

 

Sample Apache Rewrite Rule

RewriteRule ^/phpMyAdmin.*$ /index.php

 

Some Regular Expression Tips

^ Means start of filename

. Means any character other than newlines

* Means one or more of the previous character

$ Means end of line

 



Last Updated Friday, 06 July 2007
Tags
< Prev   Next >

Powered by EasyFAQ © 2006 Joomla-addons.org