Bug 65508 (DebianDebOrkification) - Joomla! requires htaccess
Summary: Joomla! requires htaccess
Status: NEW
Alias: DebianDebOrkification
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.4-HEAD
Hardware: PC Linux
: P2 minor (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL: https://cwiki.apache.org/confluence/d...
Keywords: Beginner
Depends on:
Blocks:
 
Reported: 2021-08-18 23:59 UTC by Richard Horobin
Modified: 2021-08-19 00:03 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Horobin 2021-08-18 23:59:14 UTC
Joomla! installation on Debian-based system only succeeded after I changed that to "Require all granted".

Please update Apache help forums and cwiki.apache.org "Deborkification" to ask Debian users to beware of needing this change.

Secondly, Deborkification and many other entries still discuss Apache2.2 code, specifically "Deny" rather than "Require".

TO EXPLAIN:
To install Joomla! on Debian 10 Buster at home, I configured a virtual host using  the standard instructions from cwiki.apache.org.

The Joomla installation process failed repeatedly, with error 403, ClientDeniedByServerConfiguration.

"Deborkification" in cwiki.apache.org provided the useful hint on its very last line.

Quote:
Now the problem here is the directive Deny from all, which effectively denies access to the proxy, leading to 403 Errors ClientDeniedByServerConfiguration errors in the ErrorLog.
EndQuote.

Debian uses "apache2.conf" stored in /etc/apache2 to configure global Apache <Directory> and <FilesMatch> parameters. 

Debian packagers have set access to .htaccess to "Require all denied".

Joomla! installation only succeeded after I changed that to "Require all granted".

cwiki.apache.org explains in HTaccess why Joomla! packagers require HTaccess - they don't have sufficient access to amend the apache2.conf or httpd.conf files and restart Apache. Nor should they.
Comment 1 Richard Horobin 2021-08-19 00:03:35 UTC
Should have said DebianDebOrkification.