Jump to content
Sign in to follow this  
Jesdisciple

Adding "index.cfm" as a Default Index

Recommended Posts

I want http://www.example.com/foo/ to redirect to http://www.example.com/foo/index.cfm if it exists, so I changed my (Apache) DirectoryIndex directive so "index.cfm" is at the beginning, but it has no effect... What'd I miss?

Share this post


Link to post
Share on other sites

What I'd do is use a .htaccess file. I used that on my site and it works great.

Share this post


Link to post
Share on other sites

Yeah, I've heard of those, but I was hoping to make an umbrella rule for the entire server.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×