| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/dev-conductive-digital/public/website-2026/ |
Upload File : |
# Conductive static export — Apache (place in website-2026/.htaccess)
#
# Requires: AllowOverride includes FileInfo (or All), mod_rewrite enabled.
# Rebuild: npm run build:preview
#
# If this file is ignored, see deploy/SERVER-NOTES.md (nginx, cPanel, trailingSlash).
Options -MultiViews -Indexes +FollowSymLinks
DirectoryIndex index.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /website-2026/
# --- Existing files (assets, _next, images, .html) ---
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^ - [L]
# --- Home ---
RewriteRule ^$ index.html [L]
# --- Pretty URLs → .html (path has no matching file yet) ---
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.+?)/?$ $1.html [L]
# --- Next also emits route folders (e.g. services/) with no index ---
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.+?)/?$ $1.html [L]
# --- Fallback using full filesystem path (some shared hosts) ---
RewriteCond %{DOCUMENT_ROOT}/website-2026/$1.html -f
RewriteRule ^(.+?)/?$ /website-2026/$1.html [L]
</IfModule>
ErrorDocument 404 /website-2026/404.html