Skip to main content
Known Participant
March 12, 2010
Question

mod_rewrite on GoDaddy linux shared hosting with ColdFusion

  • March 12, 2010
  • 1 reply
  • 396 views

I’ve been pulling my hair out for two days now trying to remove file extensions from my files. For example:

mydomain/about.cfm > mydomain/about/

I’ve got this in my .htaccess file:
RewriteEngine on
RewriteBase /
RewriteRule ^([A-Za-z0-9-]+)/?$ $1.cfm

Shouldn’t that work? I get nothing but 500 errors, and the error log only says:
”JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server.”

Can anyone please help? Thanks in advance.

This topic has been closed for replies.

1 reply

Fernis
Inspiring
March 22, 2010

Well, the regexp seems ok.

Have you debugged this, using hardcoded examples, such as

RewriteEngine On
RewriteRule ^about/? about.cfm

to begin with?

Have you tried adding

Options FollowSymLinks

as the first line?

--

- Fernis - fernis.net - ColdFusion Developer For Hire