私はOJSを使用しており、「journals」というフォルダー内にインストールしました。そこにいくつかのジャーナルを作成しました (たとえば、「journal1」、「journal2」など)。
今、私は次のようなパスを取得しています: www.example.com/journals/index.php/journal1
,
www.example.com/journals/index.php/journal2
, など.
私が望むのは、www.example.com/journals/index.php/journal1
次のようにマップすることですwww.example.com/index.php/journal1
(URLからジャーナル部分を削除します)。
他のファイルがいくつかあるため、OJS をルートに移動できません。
.htaccess
これが私が現在使用しているファイルです(「journals」フォルダーにあり、500を与えています)
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^journals
RewriteRule ^(.*) /journals/$1 [L]
</IfModule>
また、ここにerror.logがあります
[Fri Oct 12 22:16:45 2012] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.