1. Cài đặt perl

yum -y install perl perl-CGI

2. Cài đặt ruby

yum -y install ruby

3. Cấu hình

- Tìm
Options Indexes FollowSymLinks
Sửa thành
Options FollowSymLinks ExecCGI
- Tìm
#AddHandler cgi-script .cgi
Sửa thành
AddHandler cgi-script .cgi .pl .rp
- Tìm
 <Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Sửa thành
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options ExecCGI Includes MultiViews Indexes SymLinksIfOwnerMatch
    AddHandler cgi-script .cgi .pl .rb

- Khởi động lại apache

service httpd restart

VIDEO


31 Dec 2014

Đăng nhận xét Blogger

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top