httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Prasanna <meen...@gmail.com>
Subject Rewriting the Url
Date Fri, 29 Feb 2008 06:10:52 GMT
I need to change the appended parameters of the get Request, before it 
gets processed by the default_handler. I have written an input filter, 
changed the r->uri, r->unparsed_uri and filename, however it seems it 
doesn't work.

Actual uri -> www.somedomain.com/index.html?view=xyz
To be changed ->www.somedomain.com/index.html

 I have searched for "?view" in the uri and replaced "?" with '\0'.  
While going out of my input filter all seems that the view gets 
replaced, but i am getting "File doesnot exists" error from default 
handler, on investigating more i found the "r->finfo.filetype" becames 
APR_NOFILE.

Any suggestions?

Thanks in Advance!

--
meendar

Mime
View raw message