Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-28 05:51 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 (252 votes), past polls