Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- mod_rewrite: external vs. local redirects


scotty - 10:15 am on Jun 5, 2002 (gmt 0)


Since it is a CGI, you need to use the "hack" passthrough flag in your rule. I.e.


RewriteRule ^dynamic/(.+).html /scripts/content.cgi?page=$1 [PT]

From the manual, it is necessary to use this when the final URL needs to pass through Alias, ScriptAlias, Redirect, etc handlers.


Thread source:: http://www.webmasterworld.com/perl/1179.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com