I installed wordpress on a Linux server running lighttpd. For installation I accessed wordpress on 192.168.1.2:81/wordpress which is the LAN ip of the server. Installaton was successfull, and at general settings in the wp-admin the url shown was http://192.168.1.2:81/wordpress. After the installation I gave wordpress backend as 127.0.0.1 and port 81 on my Varnish cache running on the same server. This is varnish vcl:
sub vcl_recv { if (req.url ~ "^/wordpress") { set req.backend = default;}}
But I could not access the home page when I used: http://pubip/wordpress. So I changes url in wp-admin as http://localhost:81/wordpress. But still I could not access the home page. Any solution for the issue? I have many python, php apps running over Varnish which work perfectly well, but only wordpress fails.
0.0.0.0. – nixnotwin Dec 23 '11 at 9:06