Directory index forbidden by rule

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: 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 […]

Continue Reading…

Error: To add, edit, or remove IPs, please contact your server administrator.

When you add IP from WHM, you may get the following message: To fix this issue, Login to your server as root and try adding the IP Address + Netmask to /etc/ips. cat /etc/ips ip:netmask:broadcast 192.168.1.XX:255.255.255.255:192.168.1.255 After that restart the ipalias service /etc/init.d/ipaliases restart That’s all We have done it!!!! […]

Continue Reading…

Script to change cpanel password for many users in server

First of all get all the users name in a file : users.txt Then touch a file script.sh chmod 755 script.sh Copy the following code to that file: #!/bin/bash for i in `more users.txt` do randstring=`tr -dc _#$%^\&*\(\)\=A-Za-z0-9\~\+@! < /dev/urandom | head -c 8` echo “$i $randstring” >> newpass.txt /usr/local/cpanel/scripts/realchpass $i $randstring /scripts/mysqlpasswd $i $randstring […]

Continue Reading…