I believe that mod_rewrite can be useful for converting static url alone...

----- Original Message ----- From: "Peter Belau" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, March 01, 2008 8:18 AM
Subject: RE: Rewriting the Url




I believe that you can do this with mod_rewrite. You don't need to reinvent this particular wheel unless your rewriting logic is particularly hairy.


-----Original Message-----
From: Ram Prasanna [mailto:[EMAIL PROTECTED]
Sent: Thu 2/28/2008 10:10 PM
To: [email protected]
Subject: Rewriting the Url

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


Reply via email to