お世話になります。
何か、サーバーの設定などで、一部の正規表現が違うようですね。
とにかく、動いて良かったです。
Re: プリティーURLをONにしたところトップページ以外がnot foundとなる。
2016年9月15日 at 9:41
Uenoさん
ご返信有難うございます。
Apache利用のため、ご案内頂いた通り、
httpd.confでmod_rewriteが有効になっていることを確認し、
.htaccessを以下の記述で設置してみたのですが、状況は変わりませんでした。
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /concrete5/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
.htaccessの記述の仕方が違っているのか、他に問題があるのか、別の場所も変更(例えばindex.php等)する必要があるのか、悩んでいます。
Your post has been saved and will be published after approval by the forum moderator.
rehab
Re: プリティーURLをONにしたところトップページ以外がnot foundとなる。
以下の方法で一応解決しました。
・「.htaccess」の記述内容
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /concrete5/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
これでTOP以外のページ及び管理画面へのアクセスが可能となりました。