MovableType5.2.3をPSGIで動かしてみた

1
$ find . -name "*.cgi" -print0 | xargs -0 perl -i.bak -pe "s|^#\!/usr/bin/perl|#\!/usr/bin/env perl|"
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# mt-config.cgi
CGIPath    http://localhost:5000/mt/
StaticWebPath    http://localhost:5000/mt/mt-static

ObjectDriver DBI::mysql
Database mt
DBUser mt
DBPassword passw0rd
DBHost localhost
DBSocket /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock

DefaultLanguage ja
1
$ starman mt.psgi
1
$ plackup --port 5001 -MPlack::App::Directory -e 'Plack::App::Directory->new(root => ".")->to_app'
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy