I have a subdomain which is added as a serverAlias to the main domain. I am using this subdomain only for static content such as images and js, so I dont want the subdomain to follow rewrite rules and load index.php if a file is not found, I want it to show generic 404 page which is default from the server
Share
I wanted not to apply the rule for my subdomain, this code worked for me