Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

apache cf8 execute non .cfm file extensions

Guest
Nov 08, 2008 Nov 08, 2008
Using apache 1.3.33 and cold fusion 8, I've been trying to get rewrite rules to work. Specifically, rewrite rules to execute cold fusion files.

Example:

ReWriteRule ^/ontario.cfm "d:/inetpub/wwwroot/bb_on.cfm"

will work

(ie: when someone types www.mysite.com/ontario.cfm it will execute bb_on.cfm properly

but

ReWriteRule ^/ontario "d:/inetpub/wwwroot/bb_on.cfm"

it will NOT work since www.mysite.com/ontario is not a CFM file and thus does not execute.

How can these rewrite rules be executed if they don't end in .cfm?

J
342
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 14, 2008 Nov 14, 2008
LATEST
jrobbins wrote:
> Using apache 1.3.33 and cold fusion 8, I've been trying to get rewrite rules to
> work. Specifically, rewrite rules to execute cold fusion files.
>
> Example:
>
> ReWriteRule ^/ontario.cfm "d:/inetpub/wwwroot/bb_on.cfm"
>
> will work
>
> (ie: when someone types www.mysite.com/ontario.cfm it will execute bb_on.cfm
> properly
>
> but
>
> ReWriteRule ^/ontario "d:/inetpub/wwwroot/bb_on.cfm"
>
> it will NOT work since www.mysite.com/ontario is not a CFM file and thus does
> not execute.
>
> How can these rewrite rules be executed if they don't end in .cfm?

Enable verbose logging in apache (RewriteLogLevel 9) and check the logs.

--
Mack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources