httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qingjuan Gu" <qingj...@wistar.upenn.edu>
Subject cannot get media type from 'application'
Date Thu, 06 Jun 2002 17:53:14 GMT
Hello everybody,

Now I can access html and .cgi file from web broswer. I installed apache_1.3.24 and php-4.0.6
on Tru64 unix. when I broswer .php file, 

****there are the error message from web broswer:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your
request.
Please contact the server administrator, qgu@athena.wistar.upenn.edu and inform them of the
time the error occurred, and anything you might have done that may have caused the error.


****and eroor_log:
[Thu Jun  6 13:42:51 2002] [warn] mod_mime: analyze_ct: cannot get media type from 'application'
[Thu Jun  6 13:42:51 2002] [error] (8)Exec format error: exec of /db4/usr/local/www/php/hello.php
failed
[Thu Jun  6 13:42:51 2002] [error] [client 130.91.8.66] Premature end of script headers: /db4/usr/local/www/php/hello.php

********
I have setup the httpd.conf to permit php:
LoadModule php4_module        libexec/libphp4.so
ScriptAlias /php-bin/ "/db4/usr/local/www/php/"
    <Directory "/db4/usr/local/www/php">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
</IfModule>
AddType application /x-httpd-php .php

********
But in My mime.types, there is no php-replated application, if needed, what application should
I add?


thank you very much.

Grace

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message