Created
January 5, 2012 06:38
-
-
Save remino/1564036 to your computer and use it in GitHub Desktop.
Make DreamHost stats and pages accessible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_URI} ^/(source|stats)/? [OR] | |
RewriteCond %{REQUEST_URI} ^/failed_auth.html$ | |
RewriteRule ^.*$ - [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use clean URLs with WordPress, Drupal, or Rails (with FastCGI) on a server at DreamHost, you may want to add the lines above in the site's .htaccess in its public Web directory. With these, you can still access DreamHost's stats and other admin pages.