Getting WordPress work with ProxyPass
-
Hi There,
I’ve installed WordPress on a server under /my_blog/ it is configured to work as https://www.mysite.com/blog1/
Now, https://www.mysite.com points to a different server. This has Apache with mod_proxy and I’ve added the following line to httpd.conf
ProxyPass /blog1 https://192.168.100.60/my_blog
But whenever I hit https://www.mysite.com/blog1/ I get the “Nothing found for My_blog” error. Do I need to hack something in order to get this working?
Contents of .htaccess on the 192.168.100.60/my_blog/
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /my_blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /my_blog/index.php [L]
</IfModule># END WordPress
- The topic ‘Getting WordPress work with ProxyPass’ is closed to new replies.