I am trying to publish the assets with extension .pdf to the file system and rest are going to Broker DB. But when I am trying to load the page on website, the PDF files are giving "File not found for Localization" Error.
I can see the file in the file system.
I did the settings in cd_storage_conf.xml
file in deployer, discovery and session content services. I restarted the services & Application as well.
I am using SDL Web 8.1 & DXA 1.5
Deployer File Settings:
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile"
defaultFilesystem="false">
<Root Path="D:\Inetpub\wwwroot\XXX\Site" />
</Storage>
<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile"
defaultFilesystem="true" defaultStorage="true">
<Root Path="D:\Inetpub\wwwroot\XXX\Site\data" />
</Storage>
Please help.