Archive for December 8th, 2011

MySQL: Access denied for user

MySQL Error : Error connecting to MySQL: Access denied for user: ‘root@localhost’ (Using password: YES) Situation: If we try to connect mysql, sometimes we get an error as  given below.              Error connecting to MySQL: Access denied for user: ‘root@localhost’ (Using password: YES) This is mainly caused due to the fact that the user root does […]

How to disable directory or file listing for particular website?

a)vi .htaccess Options All -Indexes save the changes. OR a)vi .htaccess add this to the file IndexIgnore *   Find help on this link for most of the general soultions regarding directory listing: http://www.clockwatchers.com/htaccess_dir.html    

How directly run webstat through IE ( i.e domainname.com/webstat)

cd /home/username/public_html ln -s ../tmp/webalizer webstat cd .. chmod 755 tmp cd tmp chmod 755 webalizer