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

Jump to another Movable Type; very easy with version 5.12!
Transition to Movable Type 5.0x was a little burdensome to do this and that. Today's transition was just on…
The first term Chinese class review (Mandarin)
Three months beginner's class finished last Friday. Regardless of fluency or literacy, one of the greatest achievement from this term…
No more daunting long URLs!
Two forwarders easy to remember as well as simple to type, now, go public to access photos at flickr.com and…
  Dull Smile by newflower.

accepted here

Locations of visitors to this page