Created
June 20, 2012 13:24
-
-
Save zachseifts/2959859 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
<?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