Gentoo Archives: gentoo-user-de

From: Cyrill Helg <linux@××××××.ch>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] Apache: Rechte für .php files richtig setzen?
Date: Tue, 02 Aug 2005 18:03:30
Message-Id: 200508021958.00529.linux@solnet.ch
In Reply to: Re: [gentoo-user-de] Apache: Rechte für .php files richtig setzen? by Cyrill Helg
1 [...]
2
3 Übrigens sieht meine config im Moment so aus:
4
5 <VirtualHost *:80>
6 ServerAdmin xx
7 ServerName xx
8 ServerAlias xx
9
10 DocumentRoot /var/www/xx/mambo
11 DirectoryIndex index.php index.html index.htm
12
13 SuexecUserGroup xx_user xx_group
14
15 <Directory />
16 Options FollowSymLinks
17 AllowOverride None
18 </Directory>
19
20 <Directory /var/www/xx>
21 Options FollowSymLinks
22 AllowOverride AuthConfig
23 Order allow,deny
24 allow from all
25 </Directory>
26
27 <Directory /var/www/xx/mambo>
28 #Options FollowSymLinks
29 AllowOverride All
30 </Directory>
31
32 ScriptAlias /cgi-bin/ /var/www/php-fcgi-scripts/xx/
33 <Directory "/var/www/php-fcgi-scripts/xx">
34 AllowOverride None
35 Options +ExecCGI -MultiViews -Indexes
36 Order allow,deny
37 Allow from all
38 </Directory>
39
40 </VirtualHost>
41
42 Das Problem immer noch, dass man per direkte URL einfach alle Files in meinem
43 Mambo Ordner holen kann.
44
45 Besten Dank für die Hilfe
46
47
48 --
49 gentoo-user-de@g.o mailing list