Help - Search - Members - Calendar
Full Version: Adding "index.cfm" as a Default Index
W3Schools Forum > Server Scripting > ColdFusion
Jesdisciple (Chris)
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?
vchris
What I'd do is use a .htaccess file. I used that on my site and it works great.
Jesdisciple (Chris)
Yeah, I've heard of those, but I was hoping to make an umbrella rule for the entire server.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.