Common Problem of Joomla-2 : Directory listing denied

Posted: August 9, 2011 in .htaccess, HTML, Joomla
Tags: , ,

Problem: Sometimes the Joomla developer face a problem on their server.The problem is like that:

Solution: Try adding the following line to your .htaccess file, should help.

DirectoryIndex index.php index.htm

The key is to have index.php early and allows the server to accept the index.php file as the start page.

If this does not work, ie: Your host will not allow it, create a blank index.htm page, and put the following code it.

<html>

<head>
<title>Redirecting.....</title>
<meta Http-Equiv="Refresh" content="0;url=http://www.yoursite.co.nz/index.php">
</head>

<body>&nbsp;</body>
</html>

If necessary, you could do a similar one in the admin folder too, but add administrator/ before the index.php

Thanks.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s