Re: Movable Type 3.35 について
( No.1 )
|
 |
- 日時: 2007/06/20 23:18
- 名前: 管理者
-
> ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/"
> ↑ > # > # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased > # CGI directory exists, if you have that configured. > # > ↓ > <Directory "/var/www/html/cgi-bin"> > AllowOverride None > Options ExecCGI > Order allow,deny > Allow from all > </Directory>
上記部分はすべてコメント化して下さい。 次に以下のディレクティブ内の「Options」を以下の様にします。「Includes」はSSIを使用しないなら「Includes」はいりません。
<Directory "/var/www/html"> : : Options Includes ExecCGI FollowSymLinks ← このように・・・ : : </Directory>
次に、CGIが実行できる拡張子を指定します。
# AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # AddHandler cgi-script .cgi .pl ← この行のみ
後は、当サイトの紹介ページの通りに進んでみてください。
> mt−staticが/cgi-bin/の中にあるのが原因という資料もありましたが、よく理解ができません。
この情報は正しくありませんね。 要は、apacheが動作する設定ファイルの定義によって左右されます。
|
Re: Movable Type 3.35 について
( No.2 )
|
 |
- 日時: 2007/06/20 23:55
- 名前: yoda
<kingyoda@elines.jp>
-
ありがとうございます。
やってみましたが、やはり文字と入力ボックスのみのシンプルな画面で、入力しシンストールを続行するとデーターを初期化中・・・なにも進展しません。
もう一度インストールしなおした方がよいのでしょうか?
|
Re: Movable Type 3.35 について
( No.3 )
|
 |
- 日時: 2007/06/26 22:57
- 名前: king
<kingyoda@elines.jp>
-
/var/www/cgi-bin/mt/
に納め、各設定も統一するように修正したところ、状況が変わりました。 http://サーバー名/cgi-bin/mt/mt.cgi とすると下記のような画面にかわりました。
Static Web Path
Movable Type には mt-static ディレクトリが標準で含まれています。この中には画像ファイルやJavaScript、スタイルシートのファイルが含まれています。 mt-static ディレクトリはMovable Typeのインストールディレクトリの外部に移動されたかまたは名前が変更されました。
このディレクトリにWebブラウザからアクセスするURLを指定してください。 スタティックファイルへのURL URLを入力するように求められる。
http://example.com/mt-static/のような絶対URLまたは/mt-staticのようにも指定できます。
mt-static は/var/www/mt-static/に移動してあるので、入力しても先に進まないのです。
# The CGIPath is the URL to your Movable Type directory CGIPath http://example.com/mt-static/http://サーバ名/cgi-bin/mt/
# The StaticWebPath is the URL to your mt-static directory # Note: Check the installation documentation to find out # whether this is required for your environment. If it is not, # simply remove it or comment out the line by prepending a "#". StaticWebPath http://example.com/mt-static/http://サーバ名/mt-static/
となっています。
おしえてください。 お願い申し上げます。
|
Re: Movable Type 3.35 について
( No.4 )
|
 |
- 日時: 2007/06/27 16:18
- 名前: まお
-
httpd.confにScriptAliasを追加してアクセスできるようにしてあげれば良いのでは?
ScriptAlias /mt-static/ "/var/www/mt-static/"
|
Re: Movable Type 3.35 について
( No.5 )
|
 |
- 日時: 2007/06/27 16:26
- 名前: king
<kingyoda@elines.jp>
-
#ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
Alias /cgi-bin/ "/var/www/cgi-bin/" ←の様に変更 # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/var/www/cgi-bin"> AllowOverride All ← noneになっていたので変更 Options ExecCGI Order allow,deny Allow from all </Directory>
これで解決いたしました。
設定を完了し新規エントリーで記事を作成するとこまではできました。
しかし、最近のエントリー、アーカイブをクリックすると404が出てしまいます。
/var/www/html/2007/06/post.html に存在しているのですが、パーミッションがまちがっているのでしょうか?
どのように設定したらよいのかおしえてください。
|
Re: Movable Type 3.35 について
( No.6 )
|
 |
- 日時: 2007/07/15 10:05
- 名前: kingyoda
-
自己解決しました。
最近のエントリー、アーカイブをクリックすると404が出てしまいます。 Mysql のデーターベースにテーブルを設定していませんでした。
テーブルを設定しユーザーを指定したら表示されました。
|