Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Directory indexing for Document and media and Using imageUrl in Web content
Hi All,
I have enabled directory indexing like below.
web.server.servlet.directory.indexing.enabled=true
After that the imageUrl would be like "http://localhost:8080/documents/site-demo/Academy/getty_172411517_500.jpg"
when I use this imageUrl in web content I am getting below feedback. Is there any way to diable this.
I found the solotion:
We need to disable "Validate File Entries" from system settings
Go to Control Panel > System Settings > Export/Import , and uncheck the box that says "Validate File Entries".
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™