우분투 lighttpd를 구성 파일 지원 mod_cgi를 아래에서

이것은 당신이 첨부 파일을 업로드 할 수있는 참조 lighttpd를 구성 파일을 배울 때 왼쪽으로 몇 일, 그래서 그는 레지스터, 오늘이 꽤 좋은 것 같습니다했다.
나중에 사용하기 위해 구성 파일을 다운로드합니다. 여기 다운로드

코드 기능을하려고 여기에 다시 방법 :

#!/usr/bin/perl -w

# Example script for demo
#
use strict;
use Encode;
my $sample = "美好:2模糊:2漫画:2门户:2梦幻:2描绘:2迷惑:2美化:2幕后:2迷糊:2蛮好:2棉花:2 买回:2满怀:2买好:2磨合:2梅花:2民航:2名号:2忙活:2";

my $string = decode ("utf8", $sample);
my $sperator = decode ("utf8", ":2");
my @array = split (/$sperator/, $string);

foreach my $word (@array) {
    $word =~ s/\s//;
    print encode ("utf8", $word), "\n";
}

my $len = length ($string);
print $len, "\n";

HTTPS : //www.cnblogs.com/congrats/archive/2010/09/19/lighttpd_config.html 재현

추천

출처blog.csdn.net/weixin_34235457/article/details/93954645