OSX Server v5.03/4 breaks WP 4.3x install
-
I have a Mac Mini running OSX 10.10.11 (El Capitan) along with OSX Server, currently v5.0.4. PHP v5.5.29
All was well until I upgraded Server v4.1.5 to v5.03/4 which now breaks WP with a ‘too many redirects’ error.
Apple setup apache in Server 5.0.3/4 as a Reverse Proxy and remaps port 80 >> 34580 and 443 > 34543.
I have no trouble accessing the database on a different domain on the same server via SSL, but WP redirects (loops) and can’t find the root.
I am using the default htaccess:
# 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
Here is the apache directive in the 0000_xxx.xxx.xxx.xxx_34580_www.sitename.conf file:
`RewriteEngine on
RewriteCond %{HTTP:X-FORWARDED-FOR} !^$
RewriteCond %{REQUEST_METHOD} !^(PROPFIND|OPTIONS)$
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)([^/])$ %{HTTP:X-FORWARDED-PROTO}://%{SERVER_NAME}/$1$2/ [R=301,L,NC]`Here is the apache directive in the 0000_xxx.xxx.xxx.xxx_34543_www.sitename.conf file:
`RewriteEngine on
RewriteCond %{HTTP:X-FORWARDED-FOR} !^$
RewriteCond %{REQUEST_METHOD} !^(PROPFIND|OPTIONS)$
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*)([^/])$ %{HTTP:X-FORWARDED-PROTO}://%{SERVER_NAME}/$1$2/ [R=301,L,NC]`I found a solution for Jommla with the same issue here.
Very stuck (two days now) hope someone can help.
- The topic ‘OSX Server v5.03/4 breaks WP 4.3x install’ is closed to new replies.