3

I would like to allow directory browsing and anonymous access for a specific folder in Sitecore, but I can't find out how.

Does anyone have a clue about how to achieve this?

7

You need to add your directory path to IgnoreUrlPrefixes settings:

<setting name="IgnoreUrlPrefixes" value="...|/your-directory-path" />

and add a web.config file inside that directory with content:

<configuration>
   <system.webServer>
    <directoryBrowse enabled="true" />
   </system.webServer>
</configuration>
| improve this answer | |
3

If you mean you want to by pass Sitecore all together and load up some static HTML for example, add your path on the end of this pipe separated setting in the Web.config or in Sitecore.config in later versions of Sitecore.

Sitecore will then ignore the path an IIS should take effect.

 <setting name="IgnoreUrlPrefixes" value=".........|/YourPath" />
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.