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

mod_rewrite on GoDaddy linux shared hosting with ColdFusion

Community Beginner ,
Mar 12, 2010 Mar 12, 2010

Copy link to clipboard

Copied

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.

TOPICS
Advanced techniques

Views

332

Translate

Translate

Report

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
Enthusiast ,
Mar 22, 2010 Mar 22, 2010

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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
Documentation