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: 2022-01-24 16:15 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.
Comment 2 Rich Bowen 2022-01-24 16:15:31 UTC
It is not clear to me specifically what change you are requesting, and where. Perhaps you could provide the URLs of the pages that you wish to have changed, and suggest specific phrasing for those pages?

We don't have nay authority or control over Joomla documentation or practices (although we could certainly submit patches to them, if that's helpful?) and the Wiki is user-submitted recommendations, not official documentation.

Yes, it is indeed frustrating that so many third-party sites reference and recommend 2.2 (or even earlier!) syntax in their configuration recommendations. We address those as we come across them, but for the most part we have no more influence over those third-party docs than you do as a user.