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 FollowSymLinksSửa thành
Options FollowSymLinks ExecCGI- Tìm
#AddHandler cgi-script .cgiSửa thành
AddHandler cgi-script .cgi .pl .rp- Tìm
<Directory /home/*/public_html>Sửa thành
AllowOverride FileInfo AuthConfig Limit Indexes
options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<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
Đăng nhận xét Blogger Facebook
Click to see the code!
To insert emoticon you must added at least one space before the code.