hooduku / open-web-analytics Goto Github PK
View Code? Open in Web Editor NEWOepn Web Analytics
Oepn Web Analytics
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
Hello Hooduku,
I have OWA 1.5.0 running on SQL Server 2008 and am trying to it port over 1.5.7 using your owa_db_SQLServer.php class.
It appears SQL Server cannot understand the ‘INDEX(site_id) ‘ part of the initial Create Table SQL Statement. It makes some of the tables in SQL Server but complains of this deprecated use of Index(site_id).
Researching this I believe I need to create the index on a variable after the call to Create Table but getting hung up a bit as a newbie of PHP.
It appears this is all happening in owa_db.php, but I am not seeing how the Index(site_id) even gets added to the SQL Query (or built).
Any thoughts?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.