昨日Moxyを使えるようにしてみたので、メモ。
Mac環境だとdbm_class: DB_Fileしないとエラーが出ました。
取得
http://code.mfac.jp/trac/
インスト
perl Makefile.PL
make
make install
設定ファイル
~/.moxy_config.yaml
---
global:
assets_path: /Users/bokutin/compile/mfac/Moxy/assets
server:
module: HTTPProxy
port: 9999
host: localhost
max_clients: 80
storage:
dbm_class: DB_File
plugins:
- module: Pictogram
- module: HTMLWidth
- module: HTTPEnv
- module: StickyUA
- module: ControlPanel
- module: GPS
- module: UserAgentSwitcher
- module: XMLisHTML
- module: RefererCutter
SHELL
% alias moxy_server
moxy_server='perl /opt/local/lib/perl5/site_perl/5.8.8/moxy.pl --config=/Users/bokutin/.moxy_config.yaml'
おしまい。
テーブルがそのままレンダリングされちゃうよー。
いいのかな・・・


コメントする