PEAK XOOPS - Re: TinyDのmod_rewriteについて質問です。 in englishin japanese

Re: TinyDのmod_rewriteについて質問です。

List posts in the topic

question Re: TinyDのmod_rewriteについて質問です。

msg# 1.2.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2005/7/20 20:08
cho  二等兵   Posts: 4
Quote:
役に立つかどうか判りませんが、
http://jp.xoops.org/modules/newbb/viewtopic.php?topic_id=...
なんて参考になりませんか?

はい、大変参考になりました。
少しは進展(のか?)した気がします。(笑)
何にせよ、何も手付かずの状態からの進展ですので
調べていく方向性の目処が付いた事に、有り難く思います。

ご紹介にあがった参考URLは、私の環境と酷使しており
まさに原因はこれである!という感じです。

私のXoopsインストールの環境として記述漏れがありました。
/home/アカウント名/www/hogehoge/Xoops本体/~~

となっており、このhogehoge部に対してサブドメインを指定してあります。
これがエイリアスと言うのでしょうか?
URLとしては
//hogehoge.アカウント名//Xoops本体/modules/TinyD
になっています。

そこでRewriteBaseですが
一通りの組み合わせで試してみた所

RewriteBase / →404
RewriteBase /TinyD →404
RewriteBase /rewrite →404
RewriteBase /TinyD/rewrite →404
RewriteBase /modules/TinyD →404
RewriteBase /hogehoge/modules/TinyD →404
RewriteBase /www/hogehoge/modules/TinyD →404
RewriteBase /home/アカウント名/www/hogehoge/modules/text →404

考えられうる組み合わせは試してみたのですが
状況はあまり変わっていません。

エラー表示ですが
これは RewriteBase /modules/TinyD 時の表示です。

Not Found
The requested URL /modules/TinyD/rewrite/tc_2.html was not found on this server.

.htaccessは以下の通りになっています。
RewriteEngine on
RewriteBase /modules/TinyD

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:26 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!