can you give a bit more info?
I tried making a reverse proxy since that's what I understood from googleing that I need.
so I have the following config:
Code:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Include conf/proxy_html.conf
<VirtualHost *:80>
ServerAdmin root@ciuly.com
ServerName blog.ciuly.com
ServerAlias blog.ciuly.com
# DocumentRoot /www/www.blog.ciuly.com/
ErrorLog logs/error_log-blog.ciuly.com
CustomLog logs/access_log-blog.ciuly.com combined
ProxyRequests off
ProxyPass / http://192.168.1.2/
ProxyHTMLURLMap http://192.168.1.2 /
ProxyPassReverse / http://192.168.1.2/
ProxyHTMLEnable On
ProxyHTMLURLMap / http://192.168.1.2/
RequestHeader unset Accept-Encoding
</VirtualHost>
192.168.1.2 is the new server. 192.168.1.1 is the old server which also acts as a router and has the internet connection on it. the above httpd.conf is on 192.168.1.1
what happens is that I either get a 404 for articles OR I am being redirected to
http://192.168.1.2/wp-admin/index.php when logging in instead of
http://blog.ciuly.com
(the httpd.conf contains all the other needed stuff for apache I just posted the relevant stuff for this issue)
also, proxy_html.conf is the one from mod_proxy_html (
http://apache.webthing.com/) which I installed after the login redirect issue as it is advertised to fix that specific problem and more. after installing that and mod_xml2enc (same site) I started getting 404 everywhere.
any ideas what I am doing wrong?