.htaccess rewriting rule

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-04-11T17:16:35Z Indexed on 2010/04/11 17:23 UTC
Read the original article Hit count: 319

I have a folder within a site that is a seperate web app than the parent. Both are working fine, but when I go to the domain.com/folder/ path, I would like it to forward me to domain.com/folder/index.htm for consistency. This is the htaccess rule I was trying, but it wasn't working for me and I am not sure what I did wrong.

RewriteRule ^folder/$ folder/index.htm
RewriteRule ^folder$ folder/index.htm

I tried these rules at the start and end of the rule list to see if anything was overriding and nothing appears to be.

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about rewriterule