Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to make relative URL if "cgi-bin" is above the web root?

by merlyn (Sage)
on Jan 19, 2010 at 23:23 UTC ( #818318=note: print w/replies, xml ) Need Help??


in reply to How to make relative URL if "cgi-bin" is above the web root?

You aren't saying what the URL mapping is for each of those dirs, except "webroot", which we now know is "/". Is "/cgi-bin" mapping to your cgi-bin? What URL leads to your "/data", if any?

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

  • Comment on Re: How to make relative URL if "cgi-bin" is above the web root?

Replies are listed 'Best First'.
Re^2: How to make relative URL if "cgi-bin" is above the web root?
by perl2010 (Initiate) on Jan 20, 2010 at 14:36 UTC
    Here are the URL mappings
    /cgi-bin/ (http://example.com/cgi-bin/)
    /data/ (this is not accessible via the web)
    /htdocs/ (http://example.com/)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://818318]
help
Chatterbox?
[moritz]: ... "so there is no need to do anything"
[LanX]: and the code is a bit of a mess
[LanX]: moritz, no ... jsut copy one line of my code
[moritz]: I'm still using the CB, because ambrus's #cbstream makes it bearable
[LanX]: ... the rest is loaded from a node
[holli]: the best course of action would be to transfer the data to something well tested. even if it isnt perl based
[moritz]: but even if I had all the time in the world, I wouldn't spend much on perlmonks
[LanX]: holli: LOL
[LanX]: moritz: why ? family?
[LanX]: or other language?

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (12)
As of 2017-11-20 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (291 votes). Check out past polls.

    Notices?