I have a problem redirecting 404 errors to custom template.
My site structure is: project folder containing laravel and angularjs folders:
-> Project
-> AngularTheme -> Laravel
In my .htaccess I have redirected the requests coming from / to /AngularTheme/index.php which is working fine.
RewriteRule ^(/)?$ ./AngularTheme/index.php [L]
Now, when anyone type in anything after the / i.e /foo it throws 404 not found error to which I am not being able to handle.
Inside laravel and Angular, there is not any problem redirecting to custome page.
Thanks for any help.