Re: [users@httpd] Mod_rewrite rule for renamed FastCGI scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/19/06, Jeremy Sellors nwt <jksellors@xxxxxxxxxxxxxxx> 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
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux