Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter machielr

    (@machielr)

    Hi guys

    Please ignore my previous comments as I have managed to find the issue causing the problem in the first place.

    The actualy directory where we were specifying the AlloOverride directives and the .htaccess file it was trying to read was in different directories.

    My last changes made me suddenly realise that I have not been reading the directory properly and thus my directives were setup for the wrong directories.

    The issue on my side is now resolved.

    Regards

    Thread Starter machielr

    (@machielr)

    Hi

    ok all the changes suggested has made absolutely no difference at all.

    However, what I ended up doing is to move all the content from the .htaccess file into the vhost file under the Directory directive and them moved the .htaccess file to a different location for testing. This seems to have resolved the problem for now as it is now allowed the site to start up properly and still works after a restart.

    I am however still concerned that a future update on wordpress may place all these directives back into an htaccess file or need to add more options and it is then not working as expected.

    the htaccess file was after all created by wordpress during installation and thus my concern is when the next updates are don, what will happen.

    From all the info I was able to find thus far it plain and simple came down to the following :

    Apache 2.4.7 does not allow the <ifModule> directives inside the .htaccess files any more and thus it will no longer allow a site to start up with this directive in there.

    Now my next question, how will wordpress handle this issue in future? how can we log this as a bug in order for it to be looked at for future versions?

    Regards

    Thread Starter machielr

    (@machielr)

    Hi, please find below the htaccess file that is causing the problem:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    herewith the current <directory> directives in the vhosts file for this site

    <Directory /var/www/<site>/www/>
    Allowoverride All
    #AllowOverride AuthConfig
    Require all granted
    allow from all
    #Options FileInfo
    </Directory>

    As you can see we have only added AllowOverride all in order to try and trace the issue as it was previously set to AuthConfig only.

    We have a total of 4 wordpress sites and all giving the same problem.

    All of these sites are running the same versions of wordpress, etc…

    Regards

    Thread Starter machielr

    (@machielr)

    The directory sections are already created as stated above.

    The httpd.conf file is empty and the apache2.conf file do not have any references to allowoverride at all.

Viewing 4 replies - 1 through 4 (of 4 total)