Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter doodguy

    (@doodguy)

    OK. Problem solved.

    I finally determined that the .htaccess file in my web root directory was not even being used by Apache. This led me further up the config chain to http.conf where there was an AllowOverride None directive in the parent directory configuration.

    /var/www is set to AllowOverride None

    /var/www/html is set to AllowOverride None

    and I had this from my wordpress directory:

    /var/www/html/site1/wordpress set to AllowOverride All

    but this did NOT allow the .htaccess file in /var/www/html/site1/ to be read thus preventing the pretty Apache Rewrite Permalinks from working.

    I added a new Directory stanza for the main site1 document root:

    /var/www/html/site1 set to AllowOverride All

    Now things seem to be working as expected.

    I hope this helps some others out someday.

    Cheers.

    • This reply was modified 4 years, 6 months ago by doodguy.
    Thread Starter doodguy

    (@doodguy)

    I did give that page a glance, and since we are serving via Apache I took extra special care to read the section about the .htaccess file(s). It seems that wordpress is able to modify the .htaccess file in the webroot directory, but changing the permalink style doesn’t seem to change the wordpress/.htaccess file.

    Thread Starter doodguy

    (@doodguy)

    # WORDPRESS
    <Directory "/path/to/my/webroot/wordpress">
        AllowOverride All
    </Directory>
Viewing 3 replies - 1 through 3 (of 3 total)