When you run this on M1 Mac:
./bin/validate.sh ~/dev/git/our-web/dispatcher/src
You get:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
reading immutable file list from /etc/httpd/immutable.files.txt
checking 'conf.d/available_vhosts/default.vhost' immutability (if present)
checking existing 'conf.d/available_vhosts/default.vhost' for changes
immutable file 'conf.d/available_vhosts/default.vhost' has been changed:
--- /etc/httpd/conf.d/available_vhosts/default.vhost
+++ /etc/httpd-actual/conf.d/available_vhosts/default.vhost
@@ -17,8 +17,6 @@
ServerAlias "*"
# Use a document root that matches the one in conf.dispatcher.d/default.farm
DocumentRoot "${DOCROOT}"
- # URI dereferencing algorithm is applied at Sling's level, do not decode parameters here
- AllowEncodedSlashes NoDecode
# Add header breadcrumbs for help in troubleshooting
<IfModule mod_headers.c>
Header add X-Vhost "publish"
@@ -41,6 +39,8 @@
SetOutputFilter DEFLATE
# Don't compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
+ # Make sure proxies don't deliver the wrong content
+ Header append Vary User-Agent env=!dont-vary
# Prevent clickjacking
Header always append X-Frame-Options SAMEORIGIN
</Directory>
** error: immutable file 'conf.d/available_vhosts/default.vhost' has been changed!
There are 2 issues here:
- Incompatible image platform.
- its complaining because default.vhost has been edited, but this project was generated form the archetime, and we havent edited it. We dont know what it should be (Where is the file its comparing it to)?
Any suggestions how to fix these two?