DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12894

Apache 2.0.40 is not assuming the DEFAULTTYPE for files without extension





------- Additional Comments From [EMAIL PROTECTED]  2002-10-17 18:51 -------
Apache Apache/2.0.43 still is not assuming DEFAULT TYPE for files without 
extension.

I would like files without extensios to be 
interpreted as PHP scripts, so in httpd.conf 
I did this:
#DefaultType text/plain
DefaultType application/x-httpd-php
and this:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
********************************************

In c:\apache\htdocs I have two identical files called "cgi" and "cgi.php":
<? global $HTTP_GET_VARS; echo $HTTP_GET_VARS[0]; ?>

So I call on my browser: 
http://localhost/cgi.php/test      
********************************************
Not Found
The requested URL /cgi.php/test was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an 
ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.43 Server at localhost Port 80

********************************************
http://localhost/cgi.php -->OK

********************************************
In apache 1.3.xx it WORKS GREAT! but in 2.0.xx it does not work!
********************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to