in reply to Re: Apache Web Server and Active State Perl
in thread Apache Web Server and Active State Perl

That's gibberish. Files aren't relative. Actions can't put to anything.

If you were trying to say that action uris should be relative to the document root, that's wrong too.

Finally, ./cgi-bin/xyz.cgi is not relative to the document root, it's relative to the uri of the document in which the form resides. /cgi-bin/xyz.cgi would be relative to the document root (if cgi-bin isn't an alias).

Replies are listed 'Best First'.
Re^3: Apache Web Server and Active State Perl
by atemon (Chaplain) on Aug 08, 2007 at 16:56 UTC

    Hi,

    Sorry If my language is confusing. What I ment are as follows

    If he is saving file in the document root, the file path relative to document root will also be relative to URI of that file.

    In path ./cgi-bin/xyz.cgi, even if I can claim that above explanation applies there too, I accept that its a typo error. what I ment is /cgi-bin/xyz.cgi

    Cheers !

    --VC



    There are three sides to any argument.....
    your side, my side and the right side.