Skip to content

Instantly share code, notes, and snippets.

@remino
Created January 5, 2012 06:38
Show Gist options
  • Save remino/1564036 to your computer and use it in GitHub Desktop.
Save remino/1564036 to your computer and use it in GitHub Desktop.
Make DreamHost stats and pages accessible
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(source|stats)/? [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
</IfModule>
@remino
Copy link
Author

remino commented Jan 5, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment