>Number: 5077 >Category: general >Synopsis: Path problem when using directory Alias and CGI >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Sep 29 02:30:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: WinNT workstation 4.0 Server version: Apache/1.3.9 (Win32) Server built: Aug 16 1999 14:49:18 >Description:
Here is the case: My serverRoot is d:/web I create an alias on an external directory : <Directory "d:/projects"> Options ExecCGI Indexes Order allow,deny Allow from all </Directory> Alias /projects "d:/projects" When requesting a CGI script in this aliased directory : http://localhost/projects/myscript.php3 Thus there is no Apache error (200 in access.log) , i get a PHP error Fatal error: Unable to open d:/web/projects/myscript.php3 in - on line 0 No input file specified. See php error above : the file path given to PHP engine is not translated : d:/web/projects/myscript.php3 should be d:/projects/myscript.php3 >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]