Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Minimizing paths?

by twerq (Deacon)
on Sep 17, 2002 at 14:02 UTC ( [id://198494]=note: print w/replies, xml ) Need Help??

in reply to Minimizing paths?

This technique is similar to what Joost was describing, but the way I usually get this kind of thing rolling is with Apache's suprisingly flexible Multiviews option.

Simply throw Options +MultiViews in your virtualhost, and now Apache goes out of it's way to match the best possible document from the URI.

Which basically means you can pretend your is a directory by using a url like
and your HREFs can look like <a href="?page=this_that_theother">Link!</a>

Or, without Multiviews, you can simply tell Apache to use your as the DirectoryIndex inside a directory and then just pass it your variables in the same way as above.


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-06-17 19:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.