Created
July 6, 2012 14:58
-
-
Save zachseifts/3060663 to your computer and use it in GitHub Desktop.
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
[aegir@bender ~]$ more .drush/appstate.drush.inc | |
<?php | |
function appstate_provision_apache_vhost_config($uri, $data) { | |
return array( | |
" # rewrites /sites/default/files to the new url", | |
" <IfModule mod_rewrite.c>", | |
" RewriteEngine On", | |
" RewriteRule ^/sites/default/files(/.*)$ sites/" . $uri . "/files$1 [R,L]", | |
" </IfModule>", | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment