[CentOS] Varnish-ban-manager + vhosts

Fri Oct 25 19:54:46 UTC 2013
diegors at gmail.com <diegors at gmail.com>

http://varnish_server.domain:9200/ != 9000

------Mensaje original------
De: Mariano González
Remitente: centos-bounces at centos.org
Para: centos at centos.org
Responder a: CentOS mailing list
Asunto: [CentOS] Varnish-ban-manager + vhosts
Enviado: 25 de oct de 2013 18:03

Hi guys.

've installed varnish-ban-manager (
https://github.com/dot2code/varnish-bans-manager) and I'm currently
configuring it's DNS name. The thing is that I've set in Route53 (DNS
service in AWS) to use name http:// purge.domain.com / pointing to http://
varnish_server_name.com/. The thing is, if I test with http ://
purge.domain .com:9000/ it works normally, but using http: //
purge.domain.com/ will send me a "your request cannot be processed" (in a
varnish error screen). Any ideas why this could be happening? I've test
this with the ip address of this vm and works perfectly too.. Here's the
vhost config file:

  <VirtualHost *:80>
  ServerName purge.domain.com
  ServerAlias purge.domain.com

  ProxyPass             /    http://varnish_server.domain:9200/
  ProxyPassReverse      /    http://purge.domain.com/

  # Logging
  ErrorLog logs/server-error_log
  CustomLog logs/server-access_log combined


Note: i've replaced my real domain for "domain" just in case.

Thanks guys!!

Mariano Gabriel González
CentOS mailing list
CentOS at centos.org

Diego Sanchez

Sent from my mobile