httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tonhofer <el.to...@m-plify.net>
Subject [users@httpd] Interesting interaction between cern_meta module and Location/Directory directives in Apache 2?
Date Tue, 15 Apr 2003 10:23:29 GMT
Hello,

Just an observation, to see whether anyone found the same. Or should I
log this as a bug in the Apache Bugzilla?

Observed:
=========

Apache error messages that should not occur (but maybe I'm mistaken):

[Tue Apr 15 03:58:44 2003] [error] [client XXX.XXX.XXX.XXX] client denied
by server configuration:
/var/www/htdocs/virtualserver/.web	

Notes:
======

1) This has been occurring at my site since yesterday, where I changed
   the Apache setup somewhat (see below). Apparently every request yields
   such a protest.

2) It's evidently mod_cern_meta which causes this as ".web" is that
   module's default directory to get configuration information from.
   That module is indeed active.

3) There are no ".web" directories anywhere.

The filesystem & permissions setup:
===================================

There is a restriction on the filesystem root:

  <Directory />
  	Options FollowSymlinks
	AllowOverride None
	Order allow,deny
	Deny from all
  </Directory>

There is a restriction on the document root:

  DocumentRoot /var/www/htdocs

  <Directory /var/www/htdocs>
	Options Indexes FollowSymlinks
	AllowOverride None
	Order allow,deny
	Deny from all
  </Directory>

Underneath the document root are the virtual servers, which
are opened through 'Location' directives

  <VirtualHost *:80>
	ServerName www.virtualserver.com
	DocumentRoot /var/www/htdocs/virtualserver
	<Location />
		Options Indexes FollowSymlinks
		AllowOverride None
		Order allow,deny
		Allow from all
	</Location>
  </VirtualHost>

Quite simple really....

How to make the messages disappear? Open the Directory on the
DocumentRoot

  <Directory /var/www/htdocs>
	Options Indexes FollowSymlinks
	AllowOverride None
	Order allow,deny
	Allow from all
  </Directory>

...does it!

So -- bug or feature??



---------------------------------------------------------------------
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