We need to do some URL manipulations that are a bit beyond the scope of

Apache's "REDIRECT" directive that one can put into the site's .htaccess
files.

one could use the REWRITE directive, but writing rules for mod_rewrite is
real voodoo ...

does anyone have a sample of a .mt script that would do the same as
ErrorDocument CGI-scripts in Perl?

Specifically we need to have Apache redirect a http request for not just a
file in a particular directory to another web site with the same directory
and same file (which is what REDIRECT does) but we need to be able to
redirect an http URL request from

foo_directory/foo.html  [on one server]

to 

http://www.bar_domain.org/bar.html
[completely different directorylevel/file name on a different server]

Simple you would think...but I am not finding any simple solutions...

note, we are NOT running mchttp on the server, but simply have MC installed
as a cgi interpreter...Apache is doing all the work...

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED] 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to