# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN
PassengerAppRoot "/home/zistwada/back-test"
PassengerBaseURI "/back-test"
PassengerNodejs "/home/zistwada/nodevenv/back-test/14/bin/node"
PassengerAppType node
PassengerStartupFile index.js
# DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END
<IfModule mod_rewrite.c>
  RewriteEngine On
  # Regla personalizada para miembros
  RewriteRule ^miembros/([^/]+)/([^/]+)\.php$ /miembros/$1/$2.php [L]
  # Redireccin para rutas invlidas de Angular al inicio del test vocacional
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^eventos/test-vocacional/.*$ /eventos/test-vocacional/index.html [L]
  # Redirige rutas desconocidas a la raz del test vocacional
  RewriteCond %{REQUEST_URI} ^/eventos/test-vocacional/
  RewriteRule ^.*$ https://zis-tecba.tech/eventos/test-vocacional/index.html [R=302,L]
</IfModule>