One of our client installed joomla successfully, and tried to access the administrative URL:: http://www.domainname.com/administrator/ and got an error.
While checking on Server error logs it displayed:
[wpfmb type=’error’ theme=2][error] [client XX.XX.XX.XX]Directory index forbidden by rule: /home/user/public_html/domainname.com/administrator/[/wpfmb]
This error normally occurred due to multiple index files in the “administrator” folder.
Follow the steps in order to remove the error.
Go to directory:
cd home/user/public_html/domainname.com/administrator/ [root@server administrator/]# ls -l index* index2.php index3.php index.php
Open the .htaccess file for the directory and mention the index file to be used.
vi .htaccess
Insert following line:
DirectoryIndex index.php
Save the file.
Try to access the URL now. The error should now be sorted out.