[apache1.3] order, allow, deny, directory, location
Von: Helmut Schneider (jumper99@gmx.de) [Profil]
Datum: 06.03.2008 12:56
Message-ID: <63a4euF25ud9sU1@mid.individual.net>
Newsgroup: de.comm.software.webserver
Datum: 06.03.2008 12:56
Message-ID: <63a4euF25ud9sU1@mid.individual.net>
Newsgroup: de.comm.software.webserver
Hi, Ich möchte die "globalen" Rechte aus der server.conf auf die Location /webalizer in einem VHost überschreiben. Ich hab meine Directories und VHosts auf mehrere Dateien verteilt. In der directory.conf steht irgendwo als "global": <Location "/webalizer"> Order Deny,Allow Allow from 192.168.0 Deny from All </Location> Jetzt hab ich einen vhost, bei dem andere Rechte für diese Verzeichnis gelten sollen. <VirtualHost 192.168.0.100:80> [...] <Location /webalizer"> Order Deny,Allow Allow from 192.168.1 Deny from All </Location> </VirtualHost> Dafür hab ich http://httpd.apache.org/docs/1.3/mod/mod_access.html http://httpd.apache.org/docs/1.3/sections.html rauf und runter studiert, aber es will mir einfach nicht gelingen, die "globale" Location scheint *immer* Vorrang zu haben. Im 2ten DOC steht: "Sections inside <VirtualHost> sections are applied after the corresponding sections outside the virtual host definition. This allows virtual hosts to override the main server configuration.". Aber der Indianer schert sich nicht darum. Was wie wo warum? Danke und Gruß, Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn[ Auf dieses Posting antworten ]
