httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: [users@httpd] Mod_rewrite rule for renamed FastCGI scripts
Date Tue, 19 Sep 2006 12:53:38 GMT
On 9/19/06, Jeremy Sellors nwt <> wrote:
> I have changed a script name suffix from .cgi to
>  .fcgi to enable the script to run under FastCGI
> RewriteEngine On
> RewriteRule ^mt.fcgi(.) mt.fcgi$1 [L]
                                   ^      ^
> in the .htaccess file but this does not work.

I put carets under the two things that probably prevent your rule from
even matching, if I understand correctly.

Try setting RewriteBase in that htaccess file, and also reconsider
your RewriteRule.  I'd think it'd be more of the form

RewriteBase /mtw/
RewriteRule ^mt.cgi$ mt.fcgi [PT]

(Or look at the action parameter of the login form)

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message