2013-10-24から1日間の記事一覧
あるディレクトリの最初のファイル名だけ表示するスクリプト 1:#!/usr/bin/perl 2:use strict; use warnings; 3: 4:if( opendir(my $dh, "/tmp/hoge/") ){ 5: print "dh=$dh\n"; 6: if( my $f = readdir $dh ){ 7: print "f=$f\n"; 8: } 9: closedir $dh; 10…
AuthName takes one argument, The authentication realm (e.g. "Members Only") (.htaccessの)AuthName変数は、1語で書いてね!(ダブルクオーテーションで括れ) .htaccess:deny not allowed here AllowOverrideでLimit許可していないのに deny from all と…