From 6af26ada0dd774f91d411e09a0f344b05cccfe65 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Sat, 17 Jul 2021 12:33:20 +0100 Subject: Add missing .htaccess file --- deploy.php | 41 +++++++++++++++++++++++++++++++++++++++++ public/.htaccess | 5 +++++ 2 files changed, 46 insertions(+) create mode 100644 deploy.php create mode 100644 public/.htaccess diff --git a/deploy.php b/deploy.php new file mode 100644 index 0000000..d2494bc --- /dev/null +++ b/deploy.php @@ -0,0 +1,41 @@ +set('deploy_path', '/var/www/{{application}}'); + +task('deploy', [ + 'deploy:info', + 'deploy:prepare', + 'deploy:lock', + 'deploy:release', + 'deploy:update_code', + 'deploy:shared', + 'deploy:writable', + 'deploy:clear_paths', + 'deploy:symlink', + 'deploy:unlock', + 'cleanup', + 'success' +]); + +after('deploy:failed', 'deploy:unlock'); diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..f0da25f --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,5 @@ + + # Handle Authorization Header. + RewriteCond %{HTTP:Authorization} . + RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] + -- cgit v1.2.3-13-gbd6f