You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just started using Piwik on a cloud server, and it appears that the installation did not create the needed .htaccess files. As a result, all directories are indexable.
The public folder has all the necessary permissions where my user (owner) and the apache user (group) can write.
Is there any way I can have these files generated, and why did they not generate in the first place? Better yet, why are these files not included by default anyway? I'm sure a simple .htaccess in the root would have sufficed, instead of one for each directory (I think that's what the generator does?)...
Edit: I also think the security module should warn users when these files do not exist.
Update: I have now generated these files by calling the relevant method from index.php (deleted now as this is a once-off thing).
I've just started using Piwik on a cloud server, and it appears that the installation did not create the needed
.htaccess
files. As a result, all directories are indexable.The public folder has all the necessary permissions where my user (owner) and the
apache
user (group) can write.Is there any way I can have these files generated, and why did they not generate in the first place? Better yet, why are these files not included by default anyway? I'm sure a simple
.htaccess
in the root would have sufficed, instead of one for each directory (I think that's what the generator does?)...Edit: I also think the security module should warn users when these files do not exist.
Update: I have now generated these files by calling the relevant method from index.php (deleted now as this is a once-off thing).
I also noted from a GH search that this method is only called when running updates, but never at install-time. Is this an oversight?
The text was updated successfully, but these errors were encountered: