Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How do I create friendlier URLS?

by zigdon (Deacon)
on Feb 23, 2007 at 06:43 UTC ( #601692=note: print w/replies, xml ) Need Help??


in reply to How do I create friendlier URLS?

I think you can always just make your CGI the index.cgi in a directory, and then access the rest of the path supplied in the URL using CGI.pm:
In index.cgi: ... my $q = new CGI; my $path = $q->url(-relative => 1, -path=>1); # $path = "index.cgi/loadPage/10"

-- zigdon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2019-05-24 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (151 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!