I set up an apache and a varnish on a dedicated server, which runs on debian squeeze.
Sometimes the varnish redirects to the apache backend port 8000. In this case the browser show i.e. mydomain.com:8000/shop/ and has no connection to the server and no content will be displayed. I guess the problem is caused by my apache or varnish configs, which are both are very basic.
The varnish runs on port 80 The apache runs on port 8000
Here some examples:
mydomain.com/shop/ -> mydomain.com/shop/ (works! The shop is displayed correctly)
mydomain.com/shop -> mydomain.com:8000/shop/ (no connection to server;no content)
mydomain.com/phpinfo.php -> mydomain.com/phpinfo.php (works!)
The shop, which I am using, is shopware. I thought about editing the .htaccess in den shop directory, but that didn't work. So I am using the standard shopware .htaccess.
If it helps, I can post my config files (varnish/apache) or the correct url of my server.
I would be very thankful for any advice. I running out of ideas.
Thank in advanced! Michael