Thursday, June 23, 2011

How to change file/folder permissions in cPanel?

All files on UNIX (including Linux and other UNIX variants) machines have access permissions. In this way the operating system knows how to deal with requests to access the files. There are three types of access:
  • Read - Denoted as r, files with read access can be displayed to the user
  • Write - Denoted as w, files with write access can be modified by the user
  • Execute - Denoted as x, files with execute access can be executed as programs bythe user
Access types are set for three types of user group:
  • User - The owner of the file
  • Group - Other files which are in the same folder or group
  • World - Everyone else

Tuesday, June 14, 2011

How to redirect www URLs to non-www?

In order to redirect all requests for to, you should set the appropriate rewrite rule. This can be done by adding the following lines at the beginning of the .htaccess file in your public_html folder:
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301]

From now on, when someone accesses she/he will be redirected to
Using this method is safe because it should not create any redirection loops nor it should interfere with other rewrite rules.

Thursday, June 9, 2011

LK වසම් නාමයක් ලියාපදිංචි කර ගන්නා ආකාරය

LK වසම් ලේබකාධිකාරිය විසින් ශ්‍රී ලංකා අන්තර්ජාල LK වසම් පරිපාලනය කරනු ලැබේ.
LK වසම් ලේබකාධිකාරියෙහි .lk නාමයක් ලියාපදිංචි කර ගන්නා පිළිවෙල මෙහි කෙටියෙන් සදහන් කර ඇත. මේ පිලිබදව ඔබට අවශ්‍ය වැඩිපුර තොරතුරු පහත සදහන් ක්‍රම මගින් ලබා ගත හැකිය.
ඉ - තැපැල්:
LK වසම් ලේබකාධිකාරිය,
545/1 ද සොයිසා පාර,
ශ්‍රී ලංකා.
+94 11 421 6061, +94 11 421 9124
+94 11 265 0912 ATTN: Hostmaster
Related Posts Plugin for WordPress, Blogger...