Skip to content

Open Web Analytics protect with htaccess #3

@vgaven

Description

@vgaven

I want to use Open Web Analytics and now I would like to protect the open web analytics folder with a htaccess. It works with Piwik and don't work with Open Web Analytics

the code from the htaccess is the following:

# Sample .htaccess file for your web document root

# Restrict outside access
AuthUserFile /../www/analytics.domain.com/httpdocs/.htpasswd
AuthGroupFile /dev/null
AuthName "Piwik"
AuthType Basic

< Files "*">
Require valid-user
</Files>

<Files ~ "^piwik\.(js|php)|robots\.txt$">
Allow from all
Satisfy any
</Files>

<Files ~ "^owa\.(js|php)|robots\.txt$">
Allow from all
Satisfy any
</Files>

If I want to get access to the piwik folder I have to enter the htaccess username and password but if I open the Website that I am tracking I dont# need to enter the password thats how it shoudl also work for OWA. If I open the OWA folder it also aks for name and password but after adding the tracking code to the website it ask for the name and password everytime I open the Website. So why it works with piwik and not for OWA

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions