>Number: 3495 >Category: os-windows >Synopsis: Directories defined with ScriptAlias do not allow anything but >CGI to execute. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Dec 4 19:10:02 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: apache_1_3_3.exe >Environment: WinNT 4.0 Service Pack 3 running IIS 3.0 Using Apache 1.3.3 binary downloaded from www.apache.org >Description: 1. In httpd.conf, define a directory with ScriptAlias, ensure that the directory name and ScriptAlias are different. e.g.
Dir is E:\WWW\users\mywebsite\directory1 ScriptAlias /myscripts/ E:/WWW/users/mywebsite/directory1 2. In this same directoryu, place a pure HTML file (not CGI) say index.htm 3. Try accessing the file http://www.mywebsite.com/myscripts/index.htm The following error message appears: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. e:/www/users/crewnoble/xxxtestxxx/index.htm is not executable; ensure interpreted scripts have "#!" first line -------------------------------------------------------------------------------- Apache/1.3.3 Server at www.crewnoble.com Port 8080 Note: In this case I was running the Apache server on port 8080. I did not try it on port 80. >How-To-Repeat: Please call me at 919-544-4101 (USA EST, 8:30am - 5:30pm) or send me an email ans I will set up a live demo for you. Unfortunately I cannot have a live demo permanently set up. >Fix: Unfortunately, no. HTML files under ScriptAlias dirs must be served normally. >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 leave the subject line UNCHANGED. This is not done] [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! ]
