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

Open Web Analytics protect with htaccess #3

Open
vgaven opened this issue Jul 11, 2014 · 0 comments
Open

Open Web Analytics protect with htaccess #3

vgaven opened this issue Jul 11, 2014 · 0 comments

Comments

@vgaven
Copy link

vgaven commented Jul 11, 2014

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

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