Commit a86743d1 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Fix up the error redirect url

parent 0b0fc0d4
......@@ -40,8 +40,8 @@ function provision_apache_drush_init() {
// Redirection urls
drush_set_default('master_url', $GLOBALS['base_url']);
$master_url = drush_get_option('master_url');
drush_set_default('web_disable_url', $master_url .'/provision/disabled');
drush_set_default('web_maintenence_url', $master_url .'/provision/maintenance');
drush_set_default('web_disable_url', $master_url .'/hosting/disabled');
drush_set_default('web_maintenence_url', $master_url .'/hosting/maintenance');
drush_set_default('web_ip', '127.0.0.1');
drush_set_default('web_port', 80);
......
......@@ -8,7 +8,7 @@
RewriteEngine on
# the ? at the end is to remove any query string in the original url
RewriteRule ^(.*)$ <?php print $redirect_url ?>?
RewriteRule ^(.*)$ <?php print $redirect_url . '/' . $site_url ?>?
<?php if (is_array($aliases)) :
foreach ($aliases as $alias) : ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment