httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] DefaultType text/plain?
Date Mon, 15 Mar 2004 17:00:20 GMT

On Mon, 15 Mar 2004, Vi wrote:

> Can't I configure apache so that whenever it doesn't know the type, it
> sends error (for example 404 :))?
> I mean, if I put file heh.blah, and apache is requested to return it, it
> returns text/html with contents of an
> error.

No, you can't.

You can deny all access and then selectively allow access only for certain
file extensions.

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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message