I'll assume you are just testing some code and trying to learn. In
that case, I think you just overlooked a missed else in there (better
indention might help see that):
if (!strcmp(r->uri,"/tiago/precisas/index1.htm")){
r->uri = "/tiago/imprecisas/index1.htm";
}
/* Insert else he
Skip using mod_rewrite or mod_proxy and just do Redirect/RedirectMatch
Redirect permanent /tiago/precisas
http://my.application.server.com/tiago/imprecisas
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
-
use:
ProxyPass /tiago/precisas http://my.application.server.com/tiago/imprecisas
-ascs
From: Tiago Semprebom [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 1:27 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] passing request to the server
Hello
Hello,I'm beginning the development of a handler module and one of the tasks of this module is change some request uri to another uri. I developed this small module (code below), in this small module I compare if an incoming request uri is equal a determinate uri if is true I change this request ur