• Gallery

By default, pure-ftp server is configured to limit the files display to maximum 2,000 files.  The list will be truncated if your files contain more than the limit.

To change this setting, you can do this:

1) Log into the server via gain the root access

2) Use your favorite text editor to open /etc/pure-ftp.conf

3) Search for the line:
LimitRecursion 2000 8

4) Change the Display limit (Increase/Decrease)

The first number (default = “2000″) after LimitRecursion is the display limit of files pure-ftp will show at anyone time. Just change it to whatever values you think is necessary for your server.

The second number (default = “8″) is the maximum sub directory depth shown in the FTP. You may change this value for recursion limit if necessary as well.

5) Restart the pure-ftpd service
service pure-ftpd restart

Comments No Comments »

Read the rest of this entry »

Comments No Comments »

人时常都会往坏的方面想。但如果每件事都往好的一面想,那就一定两全其美吗?

有听MY FM电台的人应该都听到TVB黄宗泽讲过这一段很有意思话:
“当别人问你问题时,没必要的不须回答。被他人诬赖时,其实你不用解释那么多。因为相信你的人,不需要你的解释;而不相信你的人,就算你解释,他都听不进去。当一个人不相信你的时候,即使说再多也无济于事。”

人就是这样奇怪地,有时解释也被人说是掩饰;相反的如不出声,当一些人腻了,就再也不提起了。不过,有些事情不解释,别人又会认为是默认。信任一个人, 好不容易,毕竟人心难测呀!

Comments No Comments »

Joomla CMS has built-in functionality for Search Engine Optimization (SEO).

To turn on the SEO settings for Joomla CMS:

1)  Rename the htaccess.txt to .htaccess at your Joomla directory
2)  Log in Joomla Administrator
3)  At Site, Global Configuration
4)  SEO Settings, then select “Yes” to enable:

  • Search Engine Friendly URLs”
  • use Apache mod_rewrite

If found the subpages links or URLs not working after enabled, you can revert back the original settings.

For manually revert back if you unable to login the Joomla Admin interface:

1)  Open your Filemanager or FTP client
2)  Goto your Joomla CMS directory
3)  Rename .htaccess back to htaccess.txt
4)  Edit configuration.php

$mosConfig_sef = ‘0′; #This is to disable

5) Save the file.

Comments No Comments »

I’ve successfully upgraded my blog from old version WP 2.6.x to 2.8 today.  The following is the steps that i sorted out:

  1. Log in “wp-admin” to disable all existing Plugins (Important step)
  2. Backup the mySQL database
  3. Rename the existing blog directory (Backup the source)
  4. Recreate the blog directory & Install the new version WordPress (can be easily uses Cpanel Fantastico)
  5. Rename the new “wp-content” directory
  6. Replace it by Copy back the original “wp-content” directory from backup source
  7. Restore/Import the mySQL database into the new DB (Normally Fantastico will auto create a new DB)
  8. Browse “wp-admin”, the system will prompt to click a button for upgrading the blog DB
  9. Log in “wp-admin” to check the contents & settings
  10. Some older version Plugins might need to be remove or reinstall (Find the compatible version before activate)
  11. Grant the write permission to the path:  wp-content/uploads/
  12. Edit “wp-config.php” to delete “utf8” at DB_CHARSET  (To make the encoding loads well)

NOTE:  Always be reminded to keep a copy of full backup before make any changes.

Comments No Comments »

1) Login to PhpMyAdmin

2) Select the Wordpress database.

3) Locate and select the “wp_options” table. Choose the “Browse” button.

4) Find the “siteurl” which is listed under the field “option_name”.

5) Choose the “Edit field” (a pen icon next to the siteurl record). Then, replace the Wordpress URL with the correct hyperlink. Click on “Go” button to save the changes.

6) At the same “wp_options” table, locate the “Home” field. Then choose the “Edit field” icon. In the “Option value” field, enter the new valid URL. After that click “Go” button to save the changes.

7) Finally test to browse the blog with new site URL.

Note: You might need to delete the temporarily contents at “wp-content/cache” to clear cache.

Comments No Comments »