お世話になっております。
kaoriと申します。
本日はサーバにCMS設置した際の問題について質問いたします。
内容は以下のエラーについてです。
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@test.jp and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
【現状】
あるCMSの管理画面にアクセスすると500エラーが出てしまいます。
今まではアクセスできたのですが、CMS内でwebサイト作成をして再度管理画面にアクセスすると、エラーになってしまいました。
【私が行った対処】
-
.htaccessをチェックし、 Options +FollowSymLinksが悪さしていると検索結果にあったのでコメントにしました。
-
ディレクトリをwebサイト作成前の状態に戻しました。(作成されたディレクトリを消しただけ)
500エラーはサーバ側の設定によるエラーというのはわかったのですが、だとするとどう対処するのが正解なのかまでは導き出せませんでした・・・
【使用CMS】
PowerCMSです。
【.htaccessの内容】
## %%%%%%% Movable Type generated this part; don't remove this line! %%%%%%% # Disable fancy indexes, so .mtview.php gets a chance... Options -Indexes <IfModule mod_rewrite.c> Options +FollowSymLinks # The mod_rewrite solution is the preferred way to invoke # dynamic pages, because of its flexibility. # Add .mtview.php to the list of DirectoryIndex options, listing it last, # so it is invoked only if the common choices aren't present... <IfModule mod_dir.c> #DirectoryIndex index.php index.html index.htm default.asp default.aspx default.html default.htm /.mtview.php DirectoryIndex index.html /.mtview.php </IfModule> RewriteEngine On # don't serve .mtview.php if the request is for a real directory # (allows the DirectoryIndex lookup to function) RewriteCond %{REQUEST_FILENAME} !-d # don't serve .mtview.php if the request is for a real file # (allows the actual file to be served) RewriteCond %{REQUEST_FILENAME} !-f # anything else is handed to .mtview.php for resolution RewriteRule ^ /.mtview.php [L] </IfModule> <IfModule !mod_rewrite.c> # if mod_rewrite is unavailable, we forward any missing page # or unresolved directory index requests to mtview # if .mtview.php can resolve the request, it returns a 200 # result code which prevents any 4xx error code from going # to the server's access logs. However, an error will be # reported in the error log file. If this is your only choice, # and you want to suppress these messages, adding a "LogLevel crit" # directive within your VirtualHost or root configuration for # Apache will turn them off. ErrorDocument 403 /.mtview.php ErrorDocument 404 /.mtview.php </IfModule> ## ******* Movable Type generated this part; don't remove this line! ******* php_flag short_open_tag off ここに言語を入力 ``` 【エラーログの内容】 .htaccess: Option FollowSymLinks not allowed here, referer: http://test.jp/cgi-bin/mt/mt.cgi?__mode=rebuild&blog_id=18&type=Monthly%2CIndividual%2CCategory%2CPage%2Cindex&next=4&offset=0&limit=&total=0&start_time=1467096821&entry_id=&is_new=&old_status=&old_categories=&old_previous=&old_next= 申し訳ありませんが、お力をお借りしたくteratailに投稿させていただきました。 以上、よろしくお願いいたします。

回答3件
あなたの回答
tips
プレビュー