I am extremely new to Apache httpd configuration. Can you please help here below is my requirement.
If the URL match existing resource - return resource.
If the URL doesn't match existing resource it should return index.html from the app root directory.
Apps root directories are:
HTML Code:
1. /rcenter/custom/aws/apps/dashboard/
2. /rcenter/custom/aws/apps/analytics/
3. /rcenter/custom/aws/apps/docs/
(Basically each directory directly after /rcenter/custom/aws/apps/)
I tried to do in this way but this is not helping here.
HTML Code:
RewriteRule ^/rcenter/custom/aws/apps/(.*)/$
> https://%{SERVER_NAME}/rcenter/custom/aws/apps/$1/index.html [P]