49e10649 by Jeff Balicki

htaccess

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 3a516de9
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
6 /wp-content/upgrade 6 /wp-content/upgrade
7 /wp-content/cache 7 /wp-content/cache
8 .idea 8 .idea
9 .htaccess 9
10 node_modules 10 node_modules
11 wp-content/plugins/wordfence/tmp 11 wp-content/plugins/wordfence/tmp
12 /web-uploads/commonwell-broker/wflogs 12 /web-uploads/commonwell-broker/wflogs
......
1 # Apache Configuration File
2 #ModPagespeedDisallow 'http://commonwell-corp.gotenzing.com/wp-content/uploads/wpcf7_captcha/*'
3
4 <IfModule pagespeed_module>
5 ModPagespeed off
6 </IfModule>
7
8 # (!) Using `.htaccess` files slows down Apache, therefore, if you have access
9 # to the main server config file (usually called `httpd.conf`), you should add
10 # this logic there: http://httpd.apache.org/docs/current/howto/htaccess.html.
11
12 # ##############################################################################
13 # # CROSS-ORIGIN RESOURCE SHARING (CORS) #
14 # ##############################################################################
15
16 # ------------------------------------------------------------------------------
17 # | Cross-domain AJAX requests |
18 # ------------------------------------------------------------------------------
19
20 # Enable cross-origin AJAX requests.
21 # http://code.google.com/p/html5security/wiki/CrossOriginRequestSecurity
22 # http://enable-cors.org/
23
24 # <IfModule mod_headers.c>
25 # Header set Access-Control-Allow-Origin "*"
26 # </IfModule>
27
28 # ------------------------------------------------------------------------------
29 # | CORS-enabled images |
30 # ------------------------------------------------------------------------------
31
32 # Send the CORS header for images when browsers request it.
33 # https://developer.mozilla.org/en/CORS_Enabled_Image
34 # http://blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
35 # http://hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
36
37 <IfModule mod_setenvif.c>
38 <IfModule mod_headers.c>
39 <FilesMatch "\.(gif|ico|jpe?g|png|svg|svgz|webp)$">
40 SetEnvIf Origin ":" IS_CORS
41 Header set Access-Control-Allow-Origin "*" env=IS_CORS
42 </FilesMatch>
43 </IfModule>
44 </IfModule>
45
46 # ------------------------------------------------------------------------------
47 # | Web fonts access |
48 # ------------------------------------------------------------------------------
49
50 # Allow access from all domains for web fonts
51
52 <IfModule mod_headers.c>
53 # <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
54 Header set Access-Control-Allow-Origin "*"
55 # </FilesMatch>
56 </IfModule>
57
58
59 # ##############################################################################
60 # # ERRORS #
61 # ##############################################################################
62
63 # ------------------------------------------------------------------------------
64 # | 404 error prevention for non-existing redirected folders |
65 # ------------------------------------------------------------------------------
66
67 # Prevent Apache from returning a 404 error for a rewrite if a directory
68 # with the same name does not exist.
69 # http://httpd.apache.org/docs/current/content-negotiation.html#multiviews
70 # http://www.webmasterworld.com/apache/3808792.htm
71
72 Options -MultiViews
73
74
75 # ##############################################################################
76 # # INTERNET EXPLORER #
77 # ##############################################################################
78
79 # ------------------------------------------------------------------------------
80 # | Better website experience |
81 # ------------------------------------------------------------------------------
82
83 # Force IE to render pages in the highest available mode in the various
84 # cases when it may not: http://hsivonen.iki.fi/doctype/ie-mode.pdf.
85 # Use, if installed, Google Chrome Frame.
86
87 <IfModule mod_headers.c>
88 Header set X-UA-Compatible "IE=edge,chrome=1"
89 # `mod_headers` can't match based on the content-type, however, we only
90 # want to send this header for HTML pages and not for the other resources
91 <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$">
92 Header unset X-UA-Compatible
93 </FilesMatch>
94 </IfModule>
95
96
97 # ##############################################################################
98 # # MIME TYPES AND ENCODING #
99 # ##############################################################################
100
101 # ------------------------------------------------------------------------------
102 # | Proper MIME types for all files |
103 # ------------------------------------------------------------------------------
104
105 <IfModule mod_mime.c>
106
107 # Audio
108 AddType audio/mp4 m4a f4a f4b
109 AddType audio/ogg oga ogg
110
111 # JavaScript
112 # Normalize to standard type (it's sniffed in IE anyways):
113 # http://tools.ietf.org/html/rfc4329#section-7.2
114 AddType application/javascript js jsonp
115 AddType application/json json
116
117 # Video
118 AddType video/mp4 mp4 m4v f4v f4p
119 AddType video/ogg ogv
120 AddType video/webm webm
121 AddType video/x-flv flv
122
123 # Web fonts
124 AddType application/font-woff woff
125 AddType application/vnd.ms-fontobject eot
126
127 # Browsers usually ignore the font MIME types and sniff the content,
128 # however, Chrome shows a warning if other MIME types are used for the
129 # following fonts.
130 AddType application/x-font-ttf ttc ttf
131 AddType font/opentype otf
132
133 # Make SVGZ fonts work on iPad:
134 # https://twitter.com/FontSquirrel/status/14855840545
135 AddType image/svg+xml svg svgz
136 AddEncoding gzip svgz
137
138 # Other
139 AddType application/octet-stream safariextz
140 AddType application/x-chrome-extension crx
141 AddType application/x-opera-extension oex
142 AddType application/x-shockwave-flash swf
143 AddType application/x-web-app-manifest+json webapp
144 AddType application/x-xpinstall xpi
145 AddType application/xml atom rdf rss xml
146 AddType image/webp webp
147 AddType image/x-icon ico
148 AddType text/cache-manifest appcache manifest
149 AddType text/vtt vtt
150 AddType text/x-component htc
151 AddType text/x-vcard vcf
152
153 </IfModule>
154
155 # ------------------------------------------------------------------------------
156 # | UTF-8 encoding |
157 # ------------------------------------------------------------------------------
158
159 # Use UTF-8 encoding for anything served as `text/html` or `text/plain`.
160 AddDefaultCharset utf-8
161
162 # Force UTF-8 for certain file formats.
163 <IfModule mod_mime.c>
164 AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
165 </IfModule>
166
167
168 # ##############################################################################
169 # # URL REWRITES #
170 # ##############################################################################
171
172 # ------------------------------------------------------------------------------
173 # | Rewrite engine |
174 # ------------------------------------------------------------------------------
175
176 # Turning on the rewrite engine and enabling the `FollowSymLinks` option is
177 # necessary for the following directives to work.
178
179 # If your web host doesn't allow the `FollowSymlinks` option, you may need to
180 # comment it out and use `Options +SymLinksIfOwnerMatch` but, be aware of the
181 # performance impact: http://httpd.apache.org/docs/current/misc/perf-tuning.html#symlinks
182
183 # Also, some cloud hosting services require `RewriteBase` to be set:
184 # http://www.rackspace.com/knowledge_center/frequently-asked-question/why-is-mod-rewrite-not-working-on-my-site
185
186 <IfModule mod_rewrite.c>
187 Options +FollowSymlinks
188 # Options +SymLinksIfOwnerMatch
189 RewriteEngine On
190 # RewriteBase /
191 </IfModule>
192
193 # ------------------------------------------------------------------------------
194 # | Suppressing / Forcing the "www." at the beginning of URLs |
195 # ------------------------------------------------------------------------------
196
197 # The same content should never be available under two different URLs especially
198 # not with and without "www." at the beginning. This can cause SEO problems
199 # (duplicate content), therefore, you should choose one of the alternatives and
200 # redirect the other one.
201
202 # By default option 1 (no "www.") is activated:
203 # http://no-www.org/faq.php?q=class_b
204
205 # If you'd prefer to use option 2, just comment out all the lines from option 1
206 # and uncomment the ones from option 2.
207
208 # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME!
209
210 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
211
212 # Option 1: rewrite www.example.com → example.com
213
214 #<IfModule mod_rewrite.c>
215 # RewriteCond %{HTTPS} !=on
216 # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
217 # RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
218 #</IfModule>
219
220 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
221
222 # Option 2: rewrite example.com → www.example.com
223
224 # Be aware that the following might not be a good idea if you use "real"
225 # subdomains for certain parts of your website.
226
227 # <IfModule mod_rewrite.c>
228 # RewriteCond %{HTTPS} !=on
229 # RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
230 # RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
231 # </IfModule>
232
233
234 # ##############################################################################
235 # # SECURITY #
236 # ##############################################################################
237
238 # ------------------------------------------------------------------------------
239 # | File access |
240 # ------------------------------------------------------------------------------
241
242 # Block access to directories without a default document.
243 # Usually you should leave this uncommented because you shouldn't allow anyone
244 # to surf through every directory on your server (which may include rather
245 # private places like the CMS's directories).
246
247 <IfModule mod_autoindex.c>
248 Options -Indexes
249 </IfModule>
250
251 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
252
253 # Block access to hidden files and directories.
254 # This includes directories used by version control systems such as Git and SVN.
255
256 #<IfModule mod_rewrite.c>
257 # RewriteCond %{SCRIPT_FILENAME} -d [OR]
258 # RewriteCond %{SCRIPT_FILENAME} -f
259 # RewriteRule "(^|/)\." - [F]
260 #</IfModule>
261
262 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
263
264 # Block access to backup and source files.
265 # These files may be left by some text editors and can pose a great security
266 # danger when anyone has access to them.
267
268 <FilesMatch "(^#.*#|\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|sw[op])|~)$">
269 Order allow,deny
270 Deny from all
271 Satisfy All
272 </FilesMatch>
273
274 # ------------------------------------------------------------------------------
275 # | Secure Sockets Layer (SSL) |
276 # ------------------------------------------------------------------------------
277
278 # Rewrite secure requests properly to prevent SSL certificate warnings, e.g.:
279 # prevent `https://www.example.com` when your certificate only allows
280 # `https://secure.example.com`.
281
282 # <IfModule mod_rewrite.c>
283 # RewriteCond %{SERVER_PORT} !^443
284 # RewriteRule ^ https://example-domain-please-change-me.com%{REQUEST_URI} [R=301,L]
285 # </IfModule>
286
287 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
288
289 # Force client-side SSL redirection.
290
291 # If a user types "example.com" in his browser, the above rule will redirect him
292 # to the secure version of the site. That still leaves a window of opportunity
293 # (the initial HTTP connection) for an attacker to downgrade or redirect the
294 # request. The following header ensures that browser will ONLY connect to your
295 # server via HTTPS, regardless of what the users type in the address bar.
296 # http://www.html5rocks.com/en/tutorials/security/transport-layer-security/
297
298 # <IfModule mod_headers.c>
299 # Header set Strict-Transport-Security max-age=16070400;
300 # </IfModule>
301
302 # ------------------------------------------------------------------------------
303 # | Server software information |
304 # ------------------------------------------------------------------------------
305
306 # Avoid displaying the exact Apache version number, the description of the
307 # generic OS-type and the information about Apache's compiled-in modules.
308
309 # ADD THIS DIRECTIVE IN THE `httpd.conf` AS IT WILL NOT WORK IN THE `.htaccess`!
310
311 # ServerTokens Prod
312
313
314 # ##############################################################################
315 # # WEB PERFORMANCE #
316 # ##############################################################################
317
318 # ------------------------------------------------------------------------------
319 # | Compression |
320 # ------------------------------------------------------------------------------
321
322 <IfModule mod_deflate.c>
323
324 # Force compression for mangled headers.
325 # http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
326 <IfModule mod_setenvif.c>
327 <IfModule mod_headers.c>
328 SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
329 RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
330 </IfModule>
331 </IfModule>
332
333 # Compress all output labeled with one of the following MIME-types
334 # (for Apache versions below 2.3.7, you don't need to enable `mod_filter`
335 # and can remove the `<IfModule mod_filter.c>` and `</IfModule>` lines
336 # as `AddOutputFilterByType` is still in the core directives).
337 <IfModule mod_filter.c>
338 AddOutputFilterByType DEFLATE application/atom+xml \
339 application/javascript \
340 application/json \
341 application/rss+xml \
342 application/vnd.ms-fontobject \
343 application/x-font-ttf \
344 application/x-web-app-manifest+json \
345 application/xhtml+xml \
346 application/xml \
347 font/opentype \
348 image/svg+xml \
349 image/x-icon \
350 text/css \
351 text/html \
352 text/plain \
353 text/x-component \
354 text/xml
355 </IfModule>
356
357 </IfModule>
358
359 # ------------------------------------------------------------------------------
360 # | ETag removal |
361 # ------------------------------------------------------------------------------
362
363 # Since we're sending far-future expires headers (see below), ETags can
364 # be removed: http://developer.yahoo.com/performance/rules.html#etags.
365
366 # `FileETag None` is not enough for every server.
367 <IfModule mod_headers.c>
368 Header unset ETag
369 </IfModule>
370
371 FileETag None
372
373 # ------------------------------------------------------------------------------
374 # | Expires headers (for better cache control) |
375 # ------------------------------------------------------------------------------
376
377 # The following expires headers are set pretty far in the future. If you don't
378 # control versioning with filename-based cache busting, consider lowering the
379 # cache time for resources like CSS and JS to something like 1 week.
380
381 <IfModule mod_expires.c>
382
383 ExpiresActive on
384 ExpiresDefault "access plus 1 month"
385
386 # CSS
387 ExpiresByType text/css "access plus 1 year"
388
389 # Data interchange
390 ExpiresByType application/json "access plus 0 seconds"
391 ExpiresByType application/xml "access plus 0 seconds"
392 ExpiresByType text/xml "access plus 0 seconds"
393
394 # Favicon (cannot be renamed!)
395 ExpiresByType image/x-icon "access plus 1 week"
396
397 # HTML components (HTCs)
398 ExpiresByType text/x-component "access plus 1 month"
399
400 # HTML
401 ExpiresByType text/html "access plus 0 seconds"
402
403 # JavaScript
404 ExpiresByType application/javascript "access plus 1 year"
405
406 # Manifest files
407 ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
408 ExpiresByType text/cache-manifest "access plus 0 seconds"
409
410 # Media
411 ExpiresByType audio/ogg "access plus 1 year"
412 ExpiresByType image/gif "access plus 1 year"
413 ExpiresByType image/jpeg "access plus 1 year"
414 ExpiresByType image/png "access plus 1 year"
415 ExpiresByType video/mp4 "access plus 1 year"
416 ExpiresByType video/ogg "access plus 1 year"
417 ExpiresByType video/webm "access plus 1 year"
418
419 # Web feeds
420 ExpiresByType application/atom+xml "access plus 1 hour"
421 ExpiresByType application/rss+xml "access plus 1 hour"
422
423 # Web fonts
424 ExpiresByType application/font-woff "access plus 1 year"
425 ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
426 ExpiresByType application/x-font-ttf "access plus 1 year"
427 ExpiresByType font/opentype "access plus 1 year"
428 ExpiresByType image/svg+xml "access plus 1 year"
429
430 </IfModule>
431
432
433 # ------------------------------------------------------------------------------
434 # | Custom |
435 # ------------------------------------------------------------------------------
436
437 <IfModule mod_rewrite.c>
438 RewriteEngine On
439 RewriteBase /
440
441
442 RewriteRule ^index\.php$ - [L]
443
444 RewriteCond %{REQUEST_FILENAME} !-f
445 RewriteCond %{REQUEST_FILENAME} !-d
446 RewriteRule . /index.php [L]
447
448
449
450
451 </IfModule>
452
453
454
455 <IfModule mod_php5.c>
456 php_value upload_max_filesize 100M
457 php_value post_max_size 100M
458 php_value memory_limit 100M
459 </IfModule>
460
461
462
463
464 # BEGIN WordPress
465 # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
466 # dynamically generated, and should only be modified via WordPress filters.
467 # Any changes to the directives between these markers will be overwritten.
468 <IfModule mod_rewrite.c>
469 RewriteEngine On
470 RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
471 RewriteBase /
472 RewriteRule ^index\.php$ - [L]
473 RewriteCond %{REQUEST_FILENAME} !-f
474 RewriteCond %{REQUEST_FILENAME} !-d
475 RewriteRule . /index.php [L]
476 </IfModule>
477
478 # END WordPress
...\ No newline at end of file ...\ No newline at end of file
...@@ -605,3 +605,63 @@ ...@@ -605,3 +605,63 @@
605 INFO [543eb25e] Finished in 0.200 seconds with exit status 0 (successful). 605 INFO [543eb25e] Finished in 0.200 seconds with exit status 0 (successful).
606 INFO [fa9ae38a] Running si commonwell-web as tenzing_www@web-1 606 INFO [fa9ae38a] Running si commonwell-web as tenzing_www@web-1
607 INFO [fa9ae38a] Finished in 4.210 seconds with exit status 0 (successful). 607 INFO [fa9ae38a] Finished in 4.210 seconds with exit status 0 (successful).
608 INFO ---------------------------------------------------------------------------
609 INFO START 2023-04-11 15:37:50 -0400 cap staging deploy
610 INFO ---------------------------------------------------------------------------
611 INFO [efeb0cc0] Running /usr/bin/env mkdir -p /tmp as tenzing_www@web-1
612 INFO [efeb0cc0] Finished in 2.203 seconds with exit status 0 (successful).
613 INFO Uploading /tmp/git-ssh-88c9bb4b01ff3e6c82bb.sh 100.0%
614 INFO [7e4e3825] Running /usr/bin/env chmod 700 /tmp/git-ssh-88c9bb4b01ff3e6c82bb.sh as tenzing_www@web-1
615 INFO [7e4e3825] Finished in 0.252 seconds with exit status 0 (successful).
616 INFO [2c1f8b1f] Running /usr/bin/env git ls-remote git@git.gotenzing.com:commonwell/broker-site.git HEAD as tenzing_www@web-1
617 INFO [2c1f8b1f] Finished in 1.288 seconds with exit status 0 (successful).
618 INFO [42b296c7] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/shared /var/www/html/production/commonwell-broker-staging/releases as tenzing_www@web-1
619 INFO [42b296c7] Finished in 0.241 seconds with exit status 0 (successful).
620 INFO [a3061dbc] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/shared/wp-content/wflogs /var/www/html/production/commonwell-broker-staging/shared/wp-content/uploads /var/www/html/production/commonwell-broker-staging/shared/wp-content/storage /var/www/html/production/commonwell-broker-staging/shared/wp-content/languages /var/www/html/production/commonwell-broker-staging/shared/wp-content/cache /var/www/html/production/commonwell-broker-staging/shared/wp-content/wp-rocket-config as tenzing_www@web-1
621 INFO [a3061dbc] Finished in 0.486 seconds with exit status 0 (successful).
622 INFO [369bfe60] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/shared as tenzing_www@web-1
623 INFO [369bfe60] Finished in 0.432 seconds with exit status 0 (successful).
624 INFO The repository mirror is at /var/www/html/production/commonwell-broker-staging/repo
625 INFO [a48088b2] Running /usr/bin/env git remote set-url origin git@git.gotenzing.com:commonwell/broker-site.git as tenzing_www@web-1
626 INFO [a48088b2] Finished in 0.609 seconds with exit status 0 (successful).
627 INFO [d410887d] Running /usr/bin/env git remote update --prune as tenzing_www@web-1
628 INFO [d410887d] Finished in 6.187 seconds with exit status 0 (successful).
629 INFO [2dbab57a] Running /usr/bin/env git clone -b master --recursive . /var/www/html/production/commonwell-broker-staging/releases/20230411193756 as tenzing_www@web-1
630 INFO [2dbab57a] Finished in 6.517 seconds with exit status 0 (successful).
631 INFO [35a70464] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/releases/20230411193756 as tenzing_www@web-1
632 INFO [35a70464] Finished in 0.409 seconds with exit status 0 (successful).
633 INFO [b0f34a26] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /var/www/html/production/commonwell-broker-staging/releases/20230411193756 as tenzing_www@web-1
634 INFO [b0f34a26] Finished in 7.406 seconds with exit status 0 (successful).
635 INFO [fc3b53f8] Running /usr/bin/env echo "3a516de9d260884adc76f03793af1487a84a92a2" > REVISION as tenzing_www@web-1
636 INFO [fc3b53f8] Finished in 0.416 seconds with exit status 0 (successful).
637 INFO [9c028ca8] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/releases/20230411193756 as tenzing_www@web-1
638 INFO [9c028ca8] Finished in 0.235 seconds with exit status 0 (successful).
639 INFO [788d6f89] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/.env /var/www/html/production/commonwell-broker-staging/releases/20230411193756/.env as tenzing_www@web-1
640 INFO [788d6f89] Finished in 0.240 seconds with exit status 0 (successful).
641 INFO [dd581560] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wordfence-waf.php /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wordfence-waf.php as tenzing_www@web-1
642 INFO [dd581560] Finished in 0.365 seconds with exit status 0 (successful).
643 INFO [4f1e66e3] Running /usr/bin/env mkdir -p /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content as tenzing_www@web-1
644 INFO [4f1e66e3] Finished in 0.258 seconds with exit status 0 (successful).
645 INFO [816887f0] Running /usr/bin/env rm -rf /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/wflogs as tenzing_www@web-1
646 INFO [816887f0] Finished in 0.184 seconds with exit status 0 (successful).
647 INFO [887d156f] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/wflogs /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/wflogs as tenzing_www@web-1
648 INFO [887d156f] Finished in 0.339 seconds with exit status 0 (successful).
649 INFO [44103040] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/uploads /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/uploads as tenzing_www@web-1
650 INFO [44103040] Finished in 0.754 seconds with exit status 0 (successful).
651 INFO [7c41a8ac] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/storage /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/storage as tenzing_www@web-1
652 INFO [7c41a8ac] Finished in 0.221 seconds with exit status 0 (successful).
653 INFO [22f5db3c] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/languages /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/languages as tenzing_www@web-1
654 INFO [22f5db3c] Finished in 0.272 seconds with exit status 0 (successful).
655 INFO [84a71134] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/cache /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/cache as tenzing_www@web-1
656 INFO [84a71134] Finished in 0.346 seconds with exit status 0 (successful).
657 INFO [7fcf3c92] Running /usr/bin/env rm -rf /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/wp-rocket-config as tenzing_www@web-1
658 INFO [7fcf3c92] Finished in 0.255 seconds with exit status 0 (successful).
659 INFO [e6f941d6] Running /usr/bin/env ln -s /var/www/html/production/commonwell-broker-staging/shared/wp-content/wp-rocket-config /var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/wp-rocket-config as tenzing_www@web-1
660 INFO [e6f941d6] Finished in 0.298 seconds with exit status 0 (successful).
661 INFO [e5d80462] Running cd '/var/www/html/production/commonwell-broker-staging/releases/20230411193756'; /usr/bin/php72 /home/tenzing_www/bin/composer install --no-dev --prefer-dist --no-interaction --quiet --optimize-autoloader as tenzing_www@web-1
662 INFO [e5d80462] Finished in 0.980 seconds with exit status 0 (successful).
663 INFO [bf4bd5d8] Running cd '/var/www/html/production/commonwell-broker-staging/releases/20230411193756/wp-content/themes/commonwell-broker'; /usr/bin/php72 /home/tenzing_www/bin/composer install --no-dev --prefer-dist --no-interaction --quiet --optimize-autoloader as tenzing_www@web-1
664 INFO [bf4bd5d8] Finished in 0.429 seconds with exit status 0 (successful).
665 INFO [02a17a2f] Running si commonwell-broker-staging as tenzing_www@web-1
666 INFO [02a17a2f] Finished in 32.207 seconds with exit status 0 (successful).
667 INFO [fca847e0] Running cd '/var/www/html/production/commonwell-broker-staging/releases/20230411193756/'; chmod -Rf 777 .htaccess wordfence-waf.php wp-content/advanced-cache.php wp-content/plugins/wordfence/ .user.ini as tenzing_www@web-1
......
1 {
2 "lockfileVersion": 1
3 }
1 # Apache < 2.3
2 <IfModule !mod_authz_core.c>
3 Order allow,deny
4 Deny from all
5 Satisfy All
6 </IfModule>
7
8 # Apache >= 2.3
9 <IfModule mod_authz_core.c>
10 Require all denied
11 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine On
3 RewriteCond %{REQUEST_URI} \.php$
4 RewriteRule .* - [F,L,NC]
5 </IfModule>
6 <IfModule !mod_rewrite.c>
7 <FilesMatch "\.php$">
8 <IfModule mod_authz_core.c>
9 Require all denied
10 </IfModule>
11 <IfModule !mod_authz_core.c>
12 Order deny,allow
13 Deny from all
14 </IfModule>
15 </FilesMatch>
16 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_authz_core.c>
2 Require all denied
3 </IfModule>
4 <IfModule !mod_authz_core.c>
5 Order deny,allow
6 Deny from all
7 </IfModule>
...\ No newline at end of file ...\ No newline at end of file