Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: using htaccess to call a perl script

by skx (Parson)
on Feb 27, 2010 at 11:49 UTC ( #825666=note: print w/ replies, xml ) Need Help??


in reply to using htaccess to call a perl script

You could change your rule to be:

RewriteRule ^/(.*_.*)/?$  /cgi-bin/display.cgi?name=$1 L

That way it'd only match if the part after the slash had a "_" in it..

Steve
--


Comment on Re: using htaccess to call a perl script

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://825666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2015-07-30 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls