A Movable Type on JustHost.com; configuration tips

| 0 Comments | 0 TrackBacks

More than one year experience using a Movable Type (MT) pushed me diving into a hosting jungle to economize allowance. This year's hive is justhost.com. I encountered several anomalies in the middle of MT migration, then, fixed them by analyzing error logs as well as referring to MT documentation. Here are several configuration tips undocumented elsewhere. Ah, let me know if somebody had already documented :-) I hope followings will help you enjoying MT.

In .htaccess, add two lines below

# 1. to protect directory info. (blog archive) from browsing
Options -Indexes

# 2. my glue; optional (not strictly applicable to MT)
# to run php codes in html
AddType application/x-httpd-php5 .html

In mt-config.cgi, add two lines below

HTMLUmask 0022
DirUmask 0022

If you don't add HTMLUmask/DirUmask, MT will generate world writable (-rw-rw-rw-)HTMLs and directories not welcomed by justhost.com http servers. As a result, nothing will be shown on web browser.

No TrackBacks

TrackBack URL: http://kokeb.net/mt/mt-tb.cgi/47

Leave a comment

Recent Entries

Green peas are creeping over the ground!
This is attributed to a lazy farmer, Hyok Kim. :-D Anomaly in climate does not make sense any more.…
Farming 2010; the same but challenging
Last year's great experience from weekend family farm led me to another challenge right after move-out to new home.…
왕 초보 발코니(베란다) 정원!
보름 여 작업 끝에 베란다 정원을 완성했다. 주말에만 작업을 했으니 실제로는 4-5일 정도. 건장한 남자 두 명이 투입된 나름대로 힘든…
  Dull Smile by newflower.

accepted here

Locations of visitors to this page