Apache 2.2 -> 2.4: Permalinks broken.
-
Hey guys, running WordPress on an AWS EC2 server. Had to install SSL, which required rolling Apache up from 2.2 to 2.4. That carried PHP up to 5.5, so I installed MySQLi. Got that all running after a day of troubleshooting.
My homepage loads, but none of my other pages do. I can log into my admin, see/edit the pages, but they don’t show up at any of their links. My domain is: usethewall.com
I’ve done a few modifications to my httpd.conf file:
1) Changed
AllowOverride <em>to</em> <strong>All</strong>
2) Added:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
After restarting httpd, I get a “Syntax error on line 191 of /etc/httpd/conf/httpd.conf:
RewriteBase: only valid in per-directory config files” error.3) Tried:
<Directory /var/www/html/usethewall/> Options FollowSymLinks AllowOverride All </Directory>
Nothing seems to be bringing my alternate links back. Welcoming all suggestions and help!
Thanks.
- The topic ‘Apache 2.2 -> 2.4: Permalinks broken.’ is closed to new replies.