Ticket #887 (closed Bug: wontfix)

Opened 3 years ago

Last modified 3 years ago

Do not include .htaccess or robots.txt in build

Reported by: vipsoft Owned by: matt
Priority: normal Milestone: Piwik 0.4.3
Component: Core Keywords:
Cc: Sensitive:

Description

The build script should exclude .htaccess and robots.txt from the build, to not overwrite the user's local configuration.

e.g.,

Change History

Changed 3 years ago by matt

  • status changed from new to closed
  • resolution set to wontfix

I don't think there is any .htaccess in the build, appart from the one in config/ that is there for security purposes and should not suffer / overwrite a configuration.

The robots.txt is necessary otherwise the error.log/access.log gets full of 404 errors when bots try to load the robots.txt which has been an issue reported by several users in the past.

Changed 3 years ago by vipsoft

Quite right, I forgot ./.htaccess wasn't under version control.

re: robots,txt. I agree it's convenient, but the flip side is that (a) unzipping into an existing installation will overwrite local mods and (b) it isn't used when piwik is installed in a subfolder, eg  http://example.com/piwik

Note: See TracTickets for help on using tickets.