Hi Monks, I am working on Unix to Linux Migration for an application and I am no +t able to make the PerlTranshandler work. The application is designed to change the URL inputted by the user i.e +. Html* and redirect it to new one i.e. g.asp?arguments Please find below the code snippet: if ( $r->uri =~ /^\/html\/(.*)$/i ) { $ruri = '/g.asp'; $r->uri($ruri); $r->args("f=$1"); } But the code flow is never moving to g.asp which has 777 properties an +d saved in the DocumentRoot. And when I am printing the r->uri and r->args: URI /g.asp URI /error/ Here i am not able to understand that the code is not going into g.asp + (because i have a print command in the first line itself and that ne +ver gets executed) secondly where does this error message gets popped + up? I have the following configuration on my system: 1. ModPerl2 installed and working fine. 2. Server version: Apache/2.2.12 (Linux/SUSE) Server built: Nov 30 2011 17:54:13 3. Added RewriteEngine On & Allowoverride All in the httpd.conf file. Best Regards, Abhijit Singh Dahiya
In reply to ModPerl2 Mod_rewrite by Abhijit10089
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |