• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Joomla App package needs update in .htaccess file configuration

Bitpalast

Plesk addicted!
Plesk Guru
TITLE:
Joomla App package needs update in .htaccess file configuration
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
17.0, 17.5, CentOS 7.3, 64-Bit
PROBLEM DESCRIPTION:
The default installation of Joomla from the app repository creates an .htaccess file that includes the
Options +FollowSymLinks
line. However, if the "don't follow symbolic links" checkbox in the subscription settings is activated, this causes a 500 internal error
"Option FollowSymlinks not allowed here"

The problem is that customers only see the 500 internal server error, but they do not know where to look for the reason, nor do they understand what to change.

My suggestion is to replace the line
Options +FollowSymLinks
by the line
Options +SymLinksIfOwnerMatch
by default in the Joomla installation package's .htaccess file. This change will work for all users: The users that do not use "don't follow symbolic links" and the ones that do.

This might be something that should be forwarded to Joomla developers, depending on who is responsible for the app respository package content. However, it could also be a good thing to add a feature in Plesk that replaces all "Options +FollowSymLinks" lines with "Options +SymLinksIfOwnerMatch" automatically regardless of what comes from a package after the package installation automatically if in a subscription the "don't follow symbolic links" is checked.​
STEPS TO REPRODUCE:
Activate "Don't follow symbolic links" checkbox in a subscription. Then install Joomla from app repository and try to open the website aftwards.​
ACTUAL RESULT:
Internal server error.​
EXPECTED RESULT:
Joomla default page output.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Help with sorting out
 
Back
Top