Friday 21 September 2012

How to list all the Domains in Kloxo

From Kloxo Control Panel:

Go to Admin Home --> all domains


Command:

[root@server /]# /script/simplelist --resource=all_domain


Tuesday 4 September 2012

You don't have permission to access /PhpMyadmin on this server in DirectAdmin

You may get the Below error while trying to Access PhpMyadmin

Forbidden

You don't have permission to access /PhpMyadmin on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.



[root@server ]# tail -f /var/log/httpd/error_log
Error: Permission denied: /var/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable


First need to check the Directory Permissions.


[root@server ]# ls -ld /var/www
dr-xr-x--- 9 webapps apache 4096 Sep  2 14:43 /var/www

[root@server ]# chmod 755 /var/www

[root@server ]# ls -ld /var/www
drwxr-xr-x 9 webapps apache 4096 Sep  2 14:43 /var/www


When i changed the directory permissions, its worked for me !!!