httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Shouldn't this be easy? - What the heck am i doing wrong???
Date Sun, 09 Jan 2005 12:13:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Trainor - hostinthebox.net wrote:
|> <VirtualHost *>
|>             DocumentRoot "C:\Apache2\htdocs"
|>             ServerName 127.0.0.1
|>             RewriteEngine on
|>             RewriteRule /test /oops.cfm
|> </VirtualHost>
|>
|>
|> When I request http://127.0.0.1/test.txt, I get the oops.cfm file but
|> it’s raw ColdFusion source code. How do I make it evaluate the cfm
|> file while still keeping the request as an internal redirect?

You need to use the [PT] flag on the rule.
RewriteRule /test /oops.cfm [PT]

- --
Rich Bowen
rbowen@rcbowen.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB4R/xXP03+sx4yJMRArSpAKDPDkmMGW8VDRM/kZYSFMbEVmp3mwCgsj1y
hxAb899QUe9wLao2MJ6G/zo=
=oFf6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Mime
View raw message