mod_rewrite/mod_dir and trailing slash issue

Hello,

I am having an issue that I could use some help with. I have a domain that is hosted on server 1. I also have a subdomain that is hosted on server 2. This works fine until on server 2 I enter a URL like:

subdomain.mydomain.com/folderName

mod_dir or mod_rewrite (not sure which) is supposed to add the trailing slash and redirect, however it is redirecting to server 1 www.mydomain.com/folderName/

And since folderName does not exist, I get a 404 error. So my question is, how come it does not redirect to subdomain.mydomain.com/folderName/ and how do I make it so it does mod_rewrite/mod_dir and trailing slash issue

Thanks for any info...

 

 

 

 

Top