<VirtualHost *:80>
    ServerName financeflow.lautram.com
    DocumentRoot /var/www/html/claude/financeflow/client/dist

    <Directory /var/www/html/claude/financeflow/client/dist>
        Options -Indexes
        AllowOverride None
        Require all granted
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index\.html$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index.html [L]
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/financeflow-error.log
    CustomLog ${APACHE_LOG_DIR}/financeflow-access.log combined
</VirtualHost>
