legacy-knowledge-base
公開されました Jul. 2, 2025

ディレクトリインデックスの有効化・無効化

written-by

Liferay Support

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

この記事は、 のレガシー記事です。。 Liferay製品の旧バージョンにも適用されます。 記事のメンテナンスは終了していますが、情報はまだ通用する可能性があります。

Liferay Portal 6.1 EEでは、サイトのディレクトリインデックスの有効/無効を設定するportal.propertyが用意されています。

解像度

ディレクトリインデックスを有効にするには、portal-ext.propertiesに以下のプロパティを設定します:

web.server.servlet.directory.indexing.enabled=true

(プロパティはfalseに設定され、セキュリティ上の理由からディレクトリインデックスがデフォルトで無効になっています)。

注:このプロパティが有効な場合、すべてのドキュメントライブラリは、URLを知っている人なら誰でも閲覧可能です。 権限はそのまま利用されますが、ゲストが閲覧可能なドキュメントやフォルダは、 誰でも閲覧可能です

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base