Open Raruto opened 3 years ago
PS regarding these two issues:
Some apache (shared) hosts don't allow you to override Options
directives (thus getting the error 500: Options not allowed here ...
within server logs):
# sample "httpd.conf" with "AllowOverride" set to "None"
<Directory "/var/www/localhost/htdocs">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
As there is no easy way to verify those directives and prevent 500 error (without access to error logs or apache config files), would it make sense to keep them both commented by default?
https://github.com/agentejo/cockpit/blob/722393b31921d5b3ee5992ade63ee9589f5b52a8/.htaccess#L30
https://github.com/agentejo/cockpit/blob/722393b31921d5b3ee5992ade63ee9589f5b52a8/.htaccess#L35
as it happens for the RewriteBase
directive:
https://github.com/agentejo/cockpit/blob/722393b31921d5b3ee5992ade63ee9589f5b52a8/.htaccess#L38
List of changes
composer\.(json|lock)
package\.json
(README|CONTRIBUTING)\.md
Dockerfile
LICENSE
<Files>
statement in favor of a single<Filesmatch>
statementAdditional info
For those interested in deepening I suggest you start reading one of the following examples:
Have a nice Day, Raruto