RewriteRule ^folder/$ /folder/defaultpage [R]
Seems obvious, but it was an "Aha!" moment for me. The folder path would be relative to root - if someone tries to access the folder, redirect them to the page within the folder. Virtually the same length as DirectoryIndex, but with a twist - enjoy!
Thanks to share this nice post.
ReplyDeleteI hope, it help to many as it has to me.
How about Drupal?
ReplyDeleteThis is a wonderful post and I like it. I am looking forward on your nice blog. Thank you for sharing.
ReplyDeleteShasing
Congratulation!
ReplyDeleteAxel from Paris, France