Am 2004-07-21 09:39:16, schrieb Marco Fleig: > >Hallo Liste >Nachdem ich gestern Mühe hatte mit der Konfig, komme ich jetzt mit der >Berechtigung nicht weiter. >Die Files im DocumentRoot habe folgende Berechtigung: >-rwxrwxrwx 1 www-data entw 674 Jul 19 14:41 index.html >-rwxrwxrwx 1 www-data entw 1003 Jul 19 14:41 index.php > >habe es auch schon mit 644 probiert. Der User www-data ist auch in der Gruppe >entw (Auszug aus /etc/group): >entw:x:505:www-data Versuch es im Web-Verzeichnis mal mit einem chown -R root.root * find -type f -exec chmod -R 644 {} ':' find -type d -exec chmod -R 755 {} ':' Und wens nich funktioniert mit chown -R nobody.nogroup * find -type f -exec chmod -R 644 {} ':' find -type d -exec chmod -R 755 {} ':' >Verstehe ich das falsch? Mit 0777 müssten die Files ja sowieso lesbar sein, >aber auch mit 644 sollte das kein problem sein. Zudem stimmt mit www-data >User und dessen Gruppe es würde also auch 0640 oder so reichen. Nein, denn Web-Dateien mussen "World-Readable" sein. Hast Du auch die Section ____ ( '/etc/apache/httpd.conf' ) ____________________________________ / | DocumentRoot /var/www/ | | <Directory /> | Options SymLinksIfOwnerMatch | AllowOverride None | </Directory> | | <Directory /var/www/> | Options Indexes Includes FollowSymLinks MultiViews | AllowOverride None | Order allow,deny | Allow from all | </Directory> \______________________________________________________________________ angepaßt ? >Danke&Gruss >Marco Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature