Regardless which I use (Nginx or Varnish, I use one or the other, never both), running them as a proxy (port 80) with Apache (port 8008, opened in iptables and all vhosts changed). All config files have Apache2 as backend, but I get "404, Not Found" errors. Any way to fix this? Thank you in advance!
To add: Error log reads: script '/var/www/x.php' not found or unable to stat, referer: http://www.domain.com/x.php Or File does not exist: /var/www/admin, referer: http://domain.com/admin So it is a path issue. In vhost for x domain, it contains the full path. Code: <Directory /var/www/x.com> AllowOverride None Order Deny,Allow Deny from all </Directory> <VirtualHost 1.1.1.1:8008> DocumentRoot /var/www/x.com/web Seems like the path in the error is wrong. Stopping short... example: /var/www/[looking here] instead of /var/www/x.com/web/[looking here]. How do I go about fixing this? Thanks!