Skip to content

Htaccess

Apache User

If apache is running you can find out the apache user with this command: Stackoverflow-link

ps aux | egrep '(apache|httpd)'

AllowOverride

Allow Apache to read your .htaccess file to the following settings allows the use of the .htaccess file:

<Directory />
    Options FollowSymLinks Indexes
    AllowOverride All
    Require all granted
</Directory>

  • "When this directive is set to None and AllowOverrideList is set to None, .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem."

  • "When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files."