Can clean URLs be achieved in a pure ColdFusion solution? -
we need estimate portal based on coldfusion technology. have no information hosting environment (could windows or linux).
one of requested features clean urls. know if can achieved pure coldfusion solution or web server related? know there neat extensions iis7 enabling clean urls i'm afraid can't depend on those.
you can use coldfusion's application.cfc
's onmissingtemplate()
method achieve effect. if want have extensions other .cfm you'll need web server configuration make coldfusion serve other extensions , directory paths (e.g. /path/to/something/
) needs configured have standard default document (e.g. index.cfm
). ben nadel has blog post covers idea extensively - sure check comments well.
that noted, both iis 7 , apache have url rewriting modules (assuming these web servers in windows , linux, respectively). situation if know url patterns module easier route. however, if patterns dynamic coldfusion alone may better, if more complex path, you'll need configure web server i've explained above.
Comments
Post a Comment