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/)