HI:
Env: I use an C-based executable as my CGI app under my Apache 2.2.22 Server package on my Home Server.
Also, I use the 'Virtual Host' method for getting requests and serving pages to my four sites.
Things have gone great for the past two years. But these past few dayts, I decided to show a 'FAQ' page as a clickable option on my main page. I keep this FAQ.HTM page in a sub-dir under Apache. And I wish to use the window.open() method to show this new FAQ page
I have succeeded in getting the FAQ page to be *sent* to the Client's Browser (i.e., to *me* as a test now).
Problem: I 'see' the FAQ' page being requested, but it fails to display. I reviewed the access.log and found the lines below
The relevant lines (with dates / times remover)
of the access.log are shown below:
Question: Why does Apache assume that the notready.htm file is an *executable* ? Because is a normal .html-styled page ! I must assume that because of the virtual host method show below, that Apache wants to assume it is an executable and fails.
Any advice please ?
Thank you.
-Mel Smith
****** access.log **********
[error] C:/APACHE/cgi-bin/XXX/NOTREADY.HTM is not executable; ensure interpreted scripts have "#!" or "'!" first line
[error] (9)Bad file descriptor: don't know how to spawn child process: C:/APACHE/cgi-bin/XXX/NOTREADY.HTM
[error] C:/APACHE/cgi-bin/XXX/NOTREADY.HTM is not executable; ensure interpreted scripts have "#!" or "'!" first line
[error] (9)Bad file descriptor: don't know how to spawn child process: C:/APACHE/cgi-bin/XXX/NOTREADY.HTM
[error] C:/APACHE/cgi-bin/XXX/NOTREADY.HTM is not executable; ensure interpreted scripts have "#!" or "'!" first line
[error] (9)Bad file descriptor: don't know how to spawn child process: C:/APACHE/cgi-bin/XXX/NOTREADY.HTM
**** and here is virtual host set up for the site ****
<VirtualHost *:4297>
ServerName ww2.whosaway.net:4297
ServerAlias whosaway.net:4297
DocumentRoot "C:/Apache/cgi-bin/xxx"
<Directory "C:/Apache/cgi-bin/xxx">
Options ExecCGI Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
# Next is Me for testing only
Allow from 12.34.56.78
</Directory>
<IfModule alias_module>
ScriptAlias /cgi-bin/xxx/ "C:/Apache/cgi-bin/xxx/"
AddHandler cgi-script .exe
</IfModule>
DirectoryIndex xxxinit.exe index.htm notready.htm faq.htm
</Virtualhost>
***********************************