Browse Source

Testing fix for htaccess missing

Ethan N. Paul 1 year ago
parent
commit
0351a032a0
2 changed files with 2 additions and 2 deletions
  1. 2
    0
      .gitlab-ci.yml
  2. 0
    2
      .htaccess

+ 2
- 0
.gitlab-ci.yml View File

@@ -28,6 +28,7 @@ Apache Production:
28 28
     - "[ -d /var/www/html/build-tmp.enpaul ] && rm -r /var/www/html/build-tmp.enpaul"
29 29
     - mkdir /var/www/html/build-tmp.enpaul
30 30
     - cp -r ./* /var/www/html/build-tmp.enpaul/
31
+    - cp ./.htaccess /var/www/html/build-tmp.enpaul/
31 32
     - rm /var/www/html/build-tmp.enpaul/web.config
32 33
     - "[ -d /var/www/html/enpaul ] && mv /var/www/html/enpaul /var/www/html/enpaul.old"
33 34
     - mv /var/www/html/build-tmp.enpaul /var/www/html/enpaul
@@ -43,6 +44,7 @@ Apache Development:
43 44
     - "[ -d /var/www/html/build-tmp.enpaul-dev ] && rm -r /var/www/html/build-tmp.enpaul-dev"
44 45
     - mkdir /var/www/html/build-tmp.enpaul-dev
45 46
     - cp -r ./* /var/www/html/build-tmp.enpaul-dev/
47
+    - cp ./.htaccess /var/www/html/build-tmp.enpaul/
46 48
     - rm /var/www/html/build-tmp.enpaul-dev/web.config
47 49
     - "[ -d /var/www/html/enpaul-dev ] && mv /var/www/html/enpaul-dev /var/www/html/enpaul-dev.old"
48 50
     - mv /var/www/html/build-tmp.enpaul-dev /var/www/html/enpaul-dev

+ 0
- 2
.htaccess View File

@@ -1,5 +1,3 @@
1
-AllowOverride FileInfo
2
-
3 1
 ErrorDocument 401 /_error/401.html
4 2
 ErrorDocument 403 /_error/403.html
5 3
 ErrorDocument 404 /_error/404.html

Loading…
Cancel
Save