.htaccess redirect if file doesn't exist
snippet in htaccess

.htaccess redirect if file doesn't exist

user7605

RewriteCond %{DOCUMENT_ROOT}web/$0 !-f
RewriteRule ^process/[^/]+$ web/process/default.php [L]