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

htaccess should help apache serve HTML files properly with: AddHandler text/html .html #5266

Closed
mattab opened this issue May 30, 2014 · 1 comment
Assignees
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented May 30, 2014

.htaccess files we created in Piwik could contain some helper code to make Apache load the HTML files as HTML.

     AddHandler text/html .html
     AddHandler text/html .htm

Note: this will only work if in the vhost configuration you have "AllowOverride All" (it won't work if you have "AllowOverride None")

@mattab
Copy link
Member Author

mattab commented May 30, 2014

In 8698554: Serve HTML files as text/html mime type fixes #5266

@mattab mattab added this to the 2.4.0 - Piwik 2.4.0 milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

1 participant