Exclude file extensions

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Exclude file extensions

Hi all.

Is it possible to exclude file extensions of the protection of shibboleth?

I want to exclude images and others file extensions, but I cant, I always get error.
I tried pathregexp and several regular expressions . Can someone help me out?

this is the last I tried:
<Host name="hostname" authType="shibboleth" requireSession="true">

        <!- exclude folders. it works! ->
        <Path name="path1" authType="shibboleth" requireSession="false"/>
        <Path name="path2/subfolder/" authType="shibboleth" requireSession="false"/>

        <!- exclude extension. it doesnt work!->
        <PathRegex regex="\.(jpg|gif|doc|pdf)" authType="shibboleth" requireSession="false">


Thanks in advance.