Commit 2424edbc authored by Ryan Bloom's avatar Ryan Bloom
Browse files

On Unix, we do not want to use an absolute path for CGI scripts. SuEXEC

will not let us use one, and when not using SuEXEC, we chdir() into the
correct directory.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87537 13f79535-47bb-0310-9956-ffa450edef68
parent 2f1540be
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@ static apr_status_t build_command_line(const char **cmd, request_rec *r,
        *cmd = apr_pstrcat(p, quoted_filename, NULL);
    }
#else
    *cmd = apr_pstrcat(p, r->filename, NULL);
    *cmd = argv0;
#endif
    return APR_SUCCESS;
}