doodguy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalinks do not workOK. Problem solved.
I finally determined that the
.htaccessfile in my web root directory was not even being used by Apache. This led me further up the config chain tohttp.confwhere there was anAllowOverride Nonedirective in the parent directory configuration./var/wwwis set toAllowOverride None/var/www/htmlis set toAllowOverride Noneand I had this from my wordpress directory:
/var/www/html/site1/wordpressset toAllowOverride Allbut this did NOT allow the
.htaccessfile 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/site1set toAllowOverride AllNow 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.
Forum: Fixing WordPress
In reply to: Permalinks do not workI did give that page a glance, and since we are serving via Apache I took extra special care to read the section about the
.htaccessfile(s). It seems that wordpress is able to modify the.htaccessfile in the webroot directory, but changing the permalink style doesn’t seem to change thewordpress/.htaccessfile.Forum: Fixing WordPress
In reply to: Permalinks do not work# WORDPRESS <Directory "/path/to/my/webroot/wordpress"> AllowOverride All </Directory>