LoginSignup
0
0

More than 5 years have passed since last update.

外部htmlの表示について

Last updated at Posted at 2014-12-18

色々と調べてみても設定できなかったので、質問させて頂きます。

tomcatとapacheは連携済みで、

htdocsの直下にAAAというディレクトリがあり

その中のhtmlファイルを表示させたいです。

SSIの設定が必要かと思い、

以下の作業をしましたが、まだ表示されません。

apache側の設定

httpd.confに以下の設定追加

Options +Includes

AddType text/html .shtml

AddHandler server-parsed .shtml

tomcat側の設定

web.xmlの以下のコメント部分を有効化
ssiの〜
ssiの〜

context.xmlに下記を追加

ちなみにバージョンは以下の通りです。

tomcat7.0.57

apache2.4

問題解決にあたり他に必要な情報がありましたらコメントお願いします。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0