Why .htaccess does not work
Last Friday, I put an .htaccess file into one folder of my site. The function of this htaccess is to make it auto redirect to other path. The problem is it is not working. I do have use this kind...
Tech geek. Life geek.
Last Friday, I put an .htaccess file into one folder of my site. The function of this htaccess is to make it auto redirect to other path. The problem is it is not working. I do have use this kind...
When I setup my VPS with MovableType installation. I do not want to install it into cgi-bin. I would like to install it under folder name mt5 or mt5cgi. But it is not executive folder for CGI files. How can...
The error is shown as below. Can not mount /dev/loop1 on /cow The way to solve it is. The problem was solved by choosing “Discarded on shutdown…” option when creating the USB Startup Disk.
Ubuntu will release its 10.04 in a week. Some new features from beta1 shown below:
It is shared hosting account. Some php program ask for register_globals to be turned off. The default is on. How can I turn off it? I can not touch php.ini. So go for .htaccess. Just add one into it. AddType...
I installed Centos 5.4 on a PC server. I SSH to it and try to use yum to update the system. But, always give me the error as below
It is 3 days to go. Ubuntu 9.10 has many new features since Ubuntu 9.04. I just list the features I like below: ext4 by default better disk performance Kubuntu Netbook release I have the netbook. Empathy replace pidgin support...
There are so many tips you can google, some are very complicated, some are useless. Now I want to share my experience to reduce memory usage of Apache on Centos server. You have to have Webmin installed on your server...
Webmin released Version 1.490 (17th September 2009) I have the webmin installed on my VPS machine. It helped me to manage the VPS. Say, add new user, install perl package etc. You can find it here.
Lxadmin treat Awstats in different way. The individual configuration file of particular domain or site is located /etc/awstats/ These files are rebuild ever time the batch file update the Awstats report. Lxadmin uses a template file here. /usr/local/lxlabs/lxadmin/file/awstats.model.conf If you...
I have a small site hosted on Dreamhost. Yslow Score with default setting is C, or 77. Later I do the following optimization to increase it to B, or 89. Based on Yslow v2 test. The key is to change...
I introduced SyntaxHighlighter before. Now it is 2.0 and has a new site. I implement SyntaxHighlighter in my blog. It is easy for me to put any PHP, CSS, Bash, Javascript and SQL scripts in this blog. It will shown...
tpl file are smarty template files. Sometimes I need to add php script, or php code into tpl file. That means I have to add php code into the smarty templates. If you add php code directly, there is error...
I have a VPS powered by Centos 5.2. There are some very important forum on it. I would like to backup it every day. Now because HyperVM/LxAdmin – Backup Home, can not backup MySQL or not easy to get it....
It is very often to include another file as a part of your script. When do this kind of including, should be very careful on following parts. 1) The path to the script is wrong. 2) The path to the...