On 3/26/07, Warhurst, SI (Spencer) <[EMAIL PROTECTED]> wrote:
Hi
I've just installed phpMyAdmin - 2.10.0.2 on my Windows 2003/Apache
2.0.59/MySQL 5.0.27 box, however I seem to have a configuration issue.
None of the images display, and in the Apache error log I get lines like this
for each image:
[Fri Mar 23 10:29:07 2007] [error] [client 130.246.76.175]
D:/www/dbman/themes/original/img/window-new.png is not executable; ensure interpreted
scripts have "#!" first line, referer:
http://**url**/main.php?token=895d12fb327eb657d27823370d31139c
[Fri Mar 23 10:29:07 2007] [error] [client 130.246.76.175] (9)Bad file
descriptor: don't know how to spawn child process:
D:/www/dbman/themes/original/img/window-new.png, referer:
http://**url**/main.php?token=895d12fb327eb657d27823370d31139c
which suggests Apache is trying to load all the images as executable files!
I don't think I've done anything different in the Apache config than previous
installations (though it's been a while!), but this is the directory config:
ScriptAlias /dbman/ "d:/www/dbman/"
<Directory "d:/www/dbman">
Options None
AllowOverride None
Order allow,deny
Allow from localhost
</Directory>
and this is the Apache PHP config:
PHPIniDir "C:\\PHP\\"
LoadModule php5_module "C:\\PHP\\php5apache2.dll"
AddHandler application/x-httpd-php .php
Anyone know what I'm doing wrong?
EVERYTHING in a ScriptAlias'ed directory will be executed.
In your case, I don't think you need a ScriptAlias at all. You
probably want simply an Alias.
By the way, you should always be using forward slashes for path
separators in the apache config.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]