httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Re: .htaccess gets 500 Internal Server Error
Date Tue, 17 Jun 2003 05:12:04 GMT
Matej Cepl wrote:
> Chmm, I did not know, that I can actually access /var/log even as
> a user. Sorry, for not providing the info. error.log says:
>    [Mon Jun 16 23:41:09 2003] [alert] [client XX.XX.XX.2] \
>       /data/www/ceplovi/.htaccess: AddType not allowed here
>    [Mon Jun 16 23:41:20 2003] [alert] [client XX.XX.XX.2] \
>       /data/www/ceplovi/.htaccess: AddType not allowed here
>    [Tue Jun 17 00:17:33 2003] [alert] [client XX.XX.XX.40] \
>       /data/www/ceplovi/.htaccess: DefaultType not allowed here
> It is strange? What does it mean?

It means that the server/vhost is configured not to allow AddType &c to be
overridden in access files. In order to do that, there must be a directive

    AllowOverride ... FileInfo

applying to the directory in the httpd.conf. See:

> Where should AddType and DefaultType go when not to the
> .htaccess file

You'd generally want to do AddType in the httpd.conf.

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message