Howto mod_rewrite with Apache
[
2010/10/20 09:23 | by Admin ]
2010/10/20 09:23 | by Admin ]
Create search engine friendly URLs with Apache mod_rewrite which rewrites requested URLs on the fly. It supports an unlimited number of rules making it perfect for dynamic web sites.
About mod_rewrite for Apache
This module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, for instance server variables, environment variables, HTTP headers, time stamps and even external database lookups in various formats can be used to achieve a really granular URL matching.
This module operates on the full URLs (including the path-info part) both in per-server context (httpd.conf) and per-directory context (.htaccess) and can even generate query-string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or even to an internal proxy throughput.
About mod_rewrite for Apache
This module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism. The URL manipulations can depend on various tests, for instance server variables, environment variables, HTTP headers, time stamps and even external database lookups in various formats can be used to achieve a really granular URL matching.
This module operates on the full URLs (including the path-info part) both in per-server context (httpd.conf) and per-directory context (.htaccess) and can even generate query-string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or even to an internal proxy throughput.
How to install ionCube loader
[
2010/10/20 09:20 | by Admin ]
2010/10/20 09:20 | by Admin ]
A guide to installing and configuring the ionCube loader to view encoded web pages for scripts such as ClientExec.
ionCube produces leading tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. Featuring an advanced compiled-code encoding engine that translates source to highly efficient bytecodes, ionCube encoding tools deliver the ideal combination of maximum source code protection without sacrificing performance, reliability or language compatibility.
In order to view encoded ionCube files on your server you need the ionCube loader. This is a free plugin for Apache web server that only takes a few minutes to install and is well worth it.
http://www.ioncube.com/
Requirements:
- Root Shell access to your server
- phpinfo page: create a new document and call it phpinfo.php. Inside place phpinfo(); ?>
Place this document in your www directory so you can view it and see all your PHP settings.
Hướng dẫn kích hoạt BlackBerry Default Browser
[
2010/10/17 18:29 | by Admin ]
2010/10/17 18:29 | by Admin ]
Service Book là gì ?
Service Book (SB) là một bản ghi lưu trữ cấu hình của một số dịch vụ trên BlackBerry (BB) như email, Trình duyệt Browser và các định dạng file đính kèm theo email.
Làm sao để tải Service Book vào chiếc BlackBerry của bạn ?
Trước đây để tải Service Book vào máy bạn phải gỡ bỏ 1 module của Browser, điều này làm cho BlackBerry của bạn phải khởi động lại rất mất thời gian và cũng phàn nào gây ra sự mất ổn định của phần mềm máy.
Nay đã có một cách khác đơn giản hơn để bạn có thể load Service Book vào trong máy. Đó là bật chế độ Legacy SB Restore
Bạn vào Options > Advanced Options > Service Book
Service Book (SB) là một bản ghi lưu trữ cấu hình của một số dịch vụ trên BlackBerry (BB) như email, Trình duyệt Browser và các định dạng file đính kèm theo email.
Làm sao để tải Service Book vào chiếc BlackBerry của bạn ?
Trước đây để tải Service Book vào máy bạn phải gỡ bỏ 1 module của Browser, điều này làm cho BlackBerry của bạn phải khởi động lại rất mất thời gian và cũng phàn nào gây ra sự mất ổn định của phần mềm máy.
Nay đã có một cách khác đơn giản hơn để bạn có thể load Service Book vào trong máy. Đó là bật chế độ Legacy SB Restore
Bạn vào Options > Advanced Options > Service Book
How to Install Config_Secruity
[
2010/10/10 09:42 | by Admin ]
2010/10/10 09:42 | by Admin ]
Instalation
HTML Code:
Now Login to http://yourserverhostname:2086/ or http://yourserverhostname:whm
With Root Username and Password
This is Simpile I will configure it l8r on and add how to configure fully
Once logged in go to # ConfigServer Security&Firewall
Then Open FireWall Configuration
Find TESTING = Change the 1 to a 0
then your Done Most Configurein is to stop Port Scans,Also Port cofigurations can be found in the same place as firewall configuration main config is ther
HTML Code:
Trích dẫn
rm -fv csf.tgz
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
If you have APF+BFD Then Please run This
sh /etc/csf/remove_apf_bfd.sh
Uninstall
cd /etc/csf
sh uninstall.sh
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
If you have APF+BFD Then Please run This
sh /etc/csf/remove_apf_bfd.sh
Uninstall
cd /etc/csf
sh uninstall.sh
Now Login to http://yourserverhostname:2086/ or http://yourserverhostname:whm
With Root Username and Password
This is Simpile I will configure it l8r on and add how to configure fully
Once logged in go to # ConfigServer Security&Firewall
Then Open FireWall Configuration
Find TESTING = Change the 1 to a 0
then your Done Most Configurein is to stop Port Scans,Also Port cofigurations can be found in the same place as firewall configuration main config is ther
How to secure and optimize websites on Linux host?
[
2010/10/10 09:25 | by Admin ]
2010/10/10 09:25 | by Admin ]
Why do hosts recommend disabling PHP functions on the Linux servers?
PHP a most popular server side scripting language is also known for its best vulnerability in the programming world. There is long history of PHP security problems but taking appropriate preventive actions you can use and enjoy this user friendly language. There are some powerful functions in the PHP which can run script/command remotely, manage system process and crack the server security so disabling these functions will restrict PHP script execution and call for system binaries/files.
disable_functions => system,passthru,exec
This directive allows you to disable vulnerable PHP functions in php.ini file. It takes on a comma-delimited list of functions.
PHP a most popular server side scripting language is also known for its best vulnerability in the programming world. There is long history of PHP security problems but taking appropriate preventive actions you can use and enjoy this user friendly language. There are some powerful functions in the PHP which can run script/command remotely, manage system process and crack the server security so disabling these functions will restrict PHP script execution and call for system binaries/files.
disable_functions => system,passthru,exec
This directive allows you to disable vulnerable PHP functions in php.ini file. It takes on a comma-delimited list of functions.









