Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?
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 surveying the Monastery: (5)
As of 2014-07-12 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (239 votes), past polls