You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jon Block <ht...@collegepublisher.com> on 2005/01/11 00:05:45 UTC
[users@httpd] Why does my rewrite return source code?
Why does this rewrite:
-----------------------
RewriteCond %{REQUEST_URI} ^.*/news/[0-9]{4}/[0-9]{2}/[0-9]{2}/$
RewriteRule .* /main.cfm
-----------------------
... send back raw coldfusion source code from main.cfm to the browser? I
need to to an internal apache rewrite because I use the request_uri to do
stuff within the CFM page. I'm trying to say "if you hit a directory request
of this format, let the coldfusion page handle it." How can I make
mod_rewrite send the cfm file through the coldfusion engine?
Thank you,
Jon
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org