Hello,
That is an excellent idea ... sed could do that no problem, since by default sed's output is STDOUT.
| sed 's/find/replace/g'
g - globally
Michael
Dave Lee wrote:
Shawn <[EMAIL PROTECTED]> wrote:
So, I guess my question is how do you do this then, if mod_rewrite isn't the correct option?
mod_ext_filter: http://httpd.apache.org/docs-2.0/mod/mod_ext_filter.html
which would allow you to run the content output through an program you want, so if you want to change all http://myapp... to http://extapp you could run the output through sed or perl
I'm no sed expert, but here is an example.
echo http://myapp | sed 's|http://myapp|http://extapp|'
Dave
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

