TinyDのmod_rewriteについて質問です。
List posts in the topic
TinyDのmod_rewriteについて質問です。
msg# 1
OCEAN-NETサイト上で質問させて頂いていたchoです。
この場にて改めて質問させていただきます。
まず、ディレクトリ構成ですが
//ドメイン.jp/Xoops/modules/TinyD
と言う構成にて展開しています。
サーバー環境ですが
詳しい環境までは解りませんがサーバー管理人に
メールで質問したところmod_rewriteは利用可能との事です
WRAP3についてですが。
TinyD同梱の.htaccess.rewriteを.htaccessにリネーム
.htaccessの位置は
//ドメイン.jp/Xoops/modules/TinyD/.htaccess
になります。
内容は何も書き換えてません。
その状態でもWRAP3が正常に作動しません。
html文章を
//ドメイン.jp/Xoops/modules/text/content
内にFTPにて直接UPし、モジュールメニューにて
WRAP3を選択
TinyDトップページメニューにて
//ドメイン.jp/modules/TinyD/rewrite/tc_1.html
となっているリンク先に飛んでも404状態です。
WRAP1・2・4は正常に動作します。
.htaccessの内容は以下の通りです。
RewriteEngine on
RewriteRule ^rewrite/tc_(.*).html$ index.php?id=$1 [L]
RewriteRule ^rewrite/(.*.html?)$ rewrite.php?wrap=$1 [L]
RewriteRule ^rewrite/index.php(.*)$ index.php$1 [L]
RewriteRule ^rewrite/comment_new.php(.*)$ comment_new.php$1 [L]
RewriteRule ^rewrite/comment_post.php(.*)$ comment_post.php$1 [L]
RewriteRule ^rewrite/comment_reply.php(.*)$ comment_reply.php$1 [L]
RewriteRule ^rewrite/comment_edit.php(.*)$ comment_edit.php$1 [L]
RewriteRule ^rewrite/comment_delete.php(.*)$ comment_delete.php$1 [L]
RewriteRule ^rewrite/(.*)$ content/$1 [L]
Votes:79
Average:8.99
Posts tree