@robocoder opened this issue on May 1st 2008

Currently, http://www.piwik.org exposes the web root directory (showing oa, piwik, and projects).

You might be able to use a .htaccess containing the following:

RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^piwik.org [NC] RewriteRule (.*) http://www.piwik.org/$1 [R=301,L]

Similarly, you'd need to put .htaccess files into the subfolders so those subdomains work.

@robocoder commented on May 2nd 2008

Sorry, that should have been:

RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} ^piwik\.org [NC]
RewriteRule (.*) http://www.piwik.org/$1 [R=301,L] 
This issue was closed on August 18th 2009
Powered by GitHub Issue Mirror