Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Perl script to handle requests to a http://.../path/*by xiper (Friar) |
on Sep 15, 2003 at 00:33 UTC ( [id://291468]=note: print w/replies, xml ) | Need Help?? |
I've been playing around with mod_rewrite and it seems to be able to achieve what i'm after. That is, if i could get it working properly... :)
At the risk of being flamed for pushing this thread further off-topic, could someone help me out with this? What i actually want to achieve is to redirect all accesses, using mod_rewrite, to a perl script, so: http://www.domain.com/foo/bar gets sent transparently to: /cgi-bin/myscript.pl?foo/bar What i have at the moment is a .htaccess (no root, remember) that contains: However, this gets caught in a loop, despite the [L], giving a 500 with: It was my understanding (from RTFMing!) that [L] is meant to avoid this?!? Where have i gone wrong?
Update: found a solution, chain a neg regex in front
- ><iper
In Section
Seekers of Perl Wisdom
|
|