/ Published in: Apache
I borrowed the script from the Dreamhost-wiki and did a minor change towards any folder.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/(thefoldername).*$ [NC] RewriteRule . - [L] </IfModule>
URL: http://wiki.dreamhost.com/Making_stats_accessible_with_htaccess