Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude subfolder auth #61

Open
pavell86 opened this issue Mar 10, 2024 · 0 comments
Open

Exclude subfolder auth #61

pavell86 opened this issue Mar 10, 2024 · 0 comments

Comments

@pavell86
Copy link

Hello,
I need disable auth to subfolder (an external application writes to the folder via a post request) A try this, but return 401. Can I help me? Thank you

RequestHeader unset X_ISRW_PROXY_AUTH_USER
<Location /app >
    #AllowOverride None
    AuthName "Private location"
    AuthType SSPI
    NTLMAuth On
	NTLMUsernameCase lower
	NTLMOmitDomain On
    NTLMAuthoritative Off
    <RequireAll>
        <RequireAny>
            Require valid-user
            #require sspi-user EMEA\group_name
        </RequireAny>
        <RequireNone>
            Require user "ANONYMOUS LOGON"
            Require user "NT-AUTORIT\ANONYMOUS-ANMELDUNG"
        </RequireNone>
    </RequireAll>
    # use this to add the authenticated username to you header
    # so any backend system can fetch the current user
    # rewrite_module needs to be loaded then
    # while X_ISRW_PROXY_AUTH_USER is your header name
    RequestHeader set X_ISRW_PROXY_AUTH_USER expr=%{REMOTE_USER}
</Location>

<Location /app/withouth_auth >
Require all granted
Satisfy any
Allow from All
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant