How to update the yum repository on Centos 5 server 1) yum install yum-fastestmirror 2) yum install yum-priorities 3) uname -i If the output is i386 then cd /usr/local/src wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 4) Install key rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt 5)Install rpmforge rpm...
Category: Knowledge
Remove extensions from url
How to remove the .php extension from the URL ? Ans : Add the following code in .htaccess file ====================== Options +FollowSymLinks Options +Indexes RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(+)$ $1.php ======================How to remove the .html extension from the...
view webalizer stats without login to cpanel
Is it possible to view webalizer stats without login to cpanel? Yes. Do the following steps. cd /home/username/www ln -s ../tmp/webalizer webalizer chown username.username webalizer cd ../tmp chmod 755 ./ chmod 755 ./webalizer —————- will allow domain.com/webalizer/ for viewing stats...
suEXEC mechanism enabled (wrapper:
Not able to start httpd & the error is as below Configuration Failed suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Checking your disk shows that you have plenty of space. The problem...