Just be aware that the link http://69.5.65.241/company.cfm still sends a
404 header to the client. For a dumb client (Web browser, search engine)
this is just another 404 page.
--
Hugo Ahlenius
-------------------------------------------------------------
Hugo Ahlenius E-Mail: [EMAIL PROTECTED]
Project Officer Phone: +46 8 230460
UNEP GRID-Arendal Fax: +46 8 230441
Stockholm Office Mobile: +46 733 467111
WWW: http://www.grida.no
-------------------------------------------------------------
| -----Original Message-----
| From: Scott Ashman [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, July 27, 2004 19:03
| To: CF-Talk
| Subject: Using missing templates as a mod_rewrite
|
| Apache has an ability to do something called a mod_rewrite,
| which allows you to reformat URLs on the fly to help with SEO
| or make the URL friendlier. Regretfully, IIS doesn't have
| this without purchasing 3rd party utility.
|
| I was able to use Cold Fusion's missing template to simulate
| a mod_rewrite.
|
| An example of this :
|
| A page called using out content management system :
| http://69.5.65.241/page.cfm?company
|
| The same page called using Cold fusion's missing template :
| http://69.5.65.241/company.cfm
|
| Company.cfm does not exist in the directory, so when the cfm
| we've assigned as the missing template gets called it pulls
| the script_name "/company.cfm", does a look up in the CMS and
| spits out the page. The process seems to work ok, but I'm
| worried about the additional overhead and other problems that
| may strike later.
|
| Had anyone tried something similar or have a better solution?
|
|
|
|
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

