INSERT INTO misc VALUES ('SOA_TTL','300');
quit
lsof -i:8889
で8889ポート使ってるプロセスをみる。
というエラーが起きた場合、文字コードが関係している可能性が高い。
GoogleMapsはutf-8の必要があるので、コンテンツの文字コードがutf-8以外の場合、javascriptのcharsetを明示的に指定してやる必要がある。
詳しくはこちらのサイトで解説。
詳しくはこちらのページを見ればよい。
http://www.goodpic.com/mt/archives2/2006/05/lftp_ftp.html
でも、上記ページでちょっとインストールのコマンドが変。以下のように普通にやればよい。
$ ./configure
$ make
$ sudo make install
このようにすると、一つの結果セットに二つのテーブルの結果が格納される。
http://dev.mysql.com/doc/refman/4.1/en/union.html
ただし、UNION is available from MySQL 4.0.0 on. だって。
]]>本来影響を受けないはずのfloatの影響。
直前にあるfloatをclearする必要がある。
IEなんてなくなればいいのに。
]]>
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/app_name"
reloadable="true"
swallowOutput="true"
useNaming="false" allowLinking="true">
<WatchedResource>/usr/local/tomcat/conf/context.xml</WatchedResource>
</Context>
One problem with this is that the redirect_to may cause an error with multiple redirects if another redirect_to comes down the line. A simple fix is to add "and return false" after the redirect_to: redirect_to :protocol => "https://" and return false unless (...)
http://www.styledbits.com/articles/2006/06/04/adding-ssl-to-your-rails-app-in-5-minutes
]]>http://today.java.net/pub/a/today/2003/08/06/multithreadedTests.html]]>
RHELだったが、/etc/xinetd.d/rsync がすでに存在するので、「disable = yes」をコメント。
/etc/rsyncd.conf を作成
(パラメータはここを参照)
log file=/var/log/rsyncd.log
[module-name]
path=/www.neo-partners.co.jp/html
comment=neopartners document root
max connections=2
auth users=username
secrets file=/etc/rsyncd.secrets
hosts allow=192.168.0.2
timeout=60
read only=true
/etc/rsyncd.secretsにパスワードを書いておく(べた書き、セキュアなのが必要ならssh+を検討する)。
xinetdを再起動(confファイルはサーバへの接続ごとに読まれるので変更後の再起動必要なし)。
クライアント側で
rsync 192.168.0.1::
とかやるとmodule-nameとconfで設定したコメントが表示されるはず。
クライアント側にパスワードを書いた/etc/rsyncd.pass みたいなファイルを用意して、
rsync -az --delete --password-file=/etc/rsyncd.pass username@192.168.0.2::module-name /backup/html