[Bug 909661] New: Apache does not serve anymore
http://bugzilla.suse.com/show_bug.cgi?id=909661 Bug ID: 909661 Summary: Apache does not serve anymore Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Apache Assignee: bnc-team-apache@forge.provo.novell.com Reporter: ulrich.deiters@uni-koeln.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 616877 --> http://bugzilla.suse.com/attachment.cgi?id=616877&action=edit apache2 main configuration file After upgrading from openSUSE 13.1 to 13.2, apache2 on my servers is not responding properly anymore. Any request is answered with "Error 403". The error log reports "client access denied" for all files and links in /srv/www/htdocs, when access is attempted via localhost. All HTML files are readable for "others". /etc/apache2/default-server.conf had been modified in an earlier OS version, but the only change was the addition of "Options Indexes, FollowSymlinks". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=909661 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@suse.com, | |pgajdos@suse.com, | |ulrich.deiters@uni-koeln.de Flags| |needinfo?(ulrich.deiters@un | |i-koeln.de) --- Comment #1 from Petr Gajdos <pgajdos@suse.com> --- I guess you have a problem caused by apache 2.2 -> 2.4 transition*). If possible, you should use newer 2.4 syntax, i. e. Require all granted instead of Order allow,deny Allow from all See http://httpd.apache.org/docs/2.4/upgrading.html. Old syntax ========== You can use old syntax as well, apache has access_compat module (statically) linked in -- but you can not use both old and new style at the same time. As far as I plunge to the problematic, the problem is, that /etc/apache2/httpd.conf contains <Directory /> ... Require all denied </Directory> i. e. new syntax. If you change that to old syntax access_compat module should be active and your issue should go away, too. Nevertheless all new-syntax-directives will not work! So I would prefer to use new syntax. That also explains why you hadn't this problem in 13.1. /etc/apache2/httpd.conf contained old syntax there. Fixes that your problem? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=909661 Ulrich Deiters <ulrich.deiters@uni-koeln.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Ulrich Deiters <ulrich.deiters@uni-koeln.de> --- "I guess you have a problem caused by apache 2.2 -> 2.4 transition*)." Evidently! I do not remember having ever modified httpd.conf, but I cannot fully exclude it. In order to get rid of all old style directives, I removed and then re-installed apache2, and the server began to respond. Then I set "Options Indexes FollowSymLinks" in /etc/apache2/default-server.conf, and my website was up and running again. So the problem is solved. It is a pity that the apache server did not write any complaints to the log file; it would have saveme some trouble. Thank you for your help! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com