# Zazo Tech static site. Review alongside existing host configuration.
Options -Indexes
DirectoryIndex index.html
ErrorDocument 404 /404.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^home/?$ / [R=301,L,NE]
RewriteRule ^about-us/?$ /about/ [R=301,L,NE]
RewriteRule ^contact-us/?$ /contact/ [R=301,L,NE]
RewriteRule ^services/cloud-transformation/?$ /consulting/cloud-platform/ [R=301,L,NE]
RewriteRule ^services/devsecops/?$ /consulting/security-devsecops/ [R=301,L,NE]
RewriteRule ^services/data-ai-governance/?$ /data-engineering-governance/ [R=301,L,NE]
RewriteRule ^privacy-policy/?$ /privacy/ [R=301,L,NE]
RewriteRule ^cookie-policy/?$ /cookies/ [R=301,L,NE]
RewriteRule ^blog/?$ /insights/ [R=301,L,NE]
RewriteRule ^index\.php/?$ / [R=301,L,NE]
RewriteRule ^aboutus\.php/?$ /about/ [R=301,L,NE]
RewriteRule ^service\.php/?$ /services/ [R=301,L,NE]
RewriteRule ^contact\.php/?$ /contact/ [R=301,L,NE]
RewriteRule ^partner\.php/?$ /partners/ [R=301,L,NE]
RewriteRule ^blog-overview\.php/?$ /insights/ [R=301,L,NE]
RewriteRule ^cloud-transformation\.php/?$ /consulting/cloud-platform/ [R=301,L,NE]
RewriteRule ^resilient-eng\.php/?$ /consulting/security-devsecops/ [R=301,L,NE]
RewriteRule ^ai-governance\.php/?$ /data-engineering-governance/ [R=301,L,NE]
RewriteRule ^privacy-policy\.php/?$ /privacy/ [R=301,L,NE]
RewriteRule ^cookie-policy\.php/?$ /cookies/ [R=301,L,NE]
RewriteRule ^blog-cloud\.php/?$ /insights/cloud-transformation-in-regulated-environments/ [R=301,L,NE]
RewriteRule ^blog-resilience\.php/?$ /insights/operational-resilience-and-cloud-outages/ [R=301,L,NE]
RewriteRule ^blog-self-serv\.php/?$ /insights/internal-developer-platform-self-service/ [R=301,L,NE]
RewriteRule ^blog-ai-autonomous\.php/?$ /insights/ai-for-compliance-workflows/ [R=301,L,NE]
RewriteCond %{THE_REQUEST} \s/+(.*/)?index\.html[\s?] [NC]
RewriteRule ^(.*/)?index\.html$ /$1 [R=301,L,NE]
</IfModule>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set X-Frame-Options "DENY"
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
Header always set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' data:; font-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self' mailto:"
</IfModule>
<FilesMatch "^(?:\.|site\.config|package|README|.*\.map$)">
Require all denied
</FilesMatch>
