[users@httpd] conf.d never match because overlaps earlier Alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hello,

i'm experimenting with a lokal apache, for study purpose only.
This is Apache 2.0.55 (Debian testing) with mod_python/3.1.3 Python/2.3.5.

Starting the server cuases this (noncritical) error message:

[Sat Feb 11 06:25:01 2006] [warn] The Alias directive in /etc/apache2/conf.d/dwww at line 3 will probably never match because it overlaps an earlier Alias.
[Sat Feb 11 06:25:03 2006] [warn] The Alias directive in /etc/apache2/conf.d/dwww at line 3 will probably never match because it overlaps an earlier Alias.

I didn't configure too much myself by now, it's mostly the standard config.
I also didn't touch the 'dwww' directive.
I can show you what i have:

________________________________________

apache2.conf:
________________________________________


#Let's have some Icons, shall we?
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

________________________________________

sites-enabled/000-default:
________________________________________


NameVirtualHost *
<VirtualHost *>

        # ServerName woody
	ServerAdmin  webmaster@woody
	DocumentRoot /var/www/

	ErrorLog /var/log/apache2/error.log
	LogLevel warn
	CustomLog /var/log/apache2/access.log combined
	ServerSignature On

	<Directory />
            Options FollowSymLinks
	    AllowOverride None
	</Directory>

	<Directory /var/www/>
	    Options Indexes FollowSymLinks MultiViews
	    AllowOverride None
	    Order allow,deny
	    allow from all
	</Directory>

 	Alias /doc/ "/usr/share/doc/"
 	<Directory "/usr/share/doc/">
		Options Indexes MultiViews FollowSymLinks
		AllowOverride None
		Order deny,allow
		Allow from 127.0.0.0/255.0.0.0 ::1/128
	</Directory>

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	 <Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>
  

## XXX: Site specific stuff 

    Alias /homewerks/ "/home/WERKS/"
    <Directory "/home/WERKS/">
        AuthType Basic
        AuthName "apache_homewerks"
        AuthUserFile /etc/apache2/passwords
        # AuthGroupFile /etc/apache2/groups
        Require valid-user
        # Require user michl
        # Need Indexes to access the directory list:
        Options FollowSymLinks Indexes Includes MultiViews
        AllowOverride None
        Order deny,allow
        # Allow from 127.0.0.0/255.0.0.0 ::1/128
        Allow from woody
        # Allow from puck
        # Allow from puckwin
        # Allow from .lan0
        # Allow from .lan1
        # Deny from all
    </Directory>

</VirtualHost>

________________________________________

conf.d/dwww
________________________________________

Alias /dwww /var/lib/dwww/html/

<Directory "/var/lib/dwww/html">
Order deny,allow
Deny from all
Allow from localhost 127.0.0.1/255.255.255.0
</Directory>

<Location "/cgi-bin/dwww">
Order deny,allow
Deny from all
Allow from localhost 127.0.0.1/255.255.255.0
</Location>




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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux