Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
If I understand correctly, you can definately do the first one using CGI::Session. I think you can do the second if you use Apache (and possibly IIS).

If you call the CGI script Resources.cgi, you should be able to configure Apache (it may be enabled by default even) to execute it when called as "Resources/stuff/goes/here". Once that is working, check out the path_info method of CGI; it should let you fetch the last bit of the URL the script was called with (ex/ "stuff/goes/here").

I know both of these work, as I use them myself.

Update You might also be interested in the Jellybean Object Web Server. I don't personally use it, but it is written by our very own chromatic.

NB I know that I responded to this and then front-paged it, but I think it is a good question. I'm honestly not trying to gain XP, and you can feel free to downvote this if you really think it was in bad form to front-page and reply.


In reply to Re: Something like Tomcat for Perl by The Mad Hatter
in thread Something like Tomcat for Perl by Improv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found