Mailing List Archive

Domain
Let me rephrase the question. I have a domain name www.peg.com<http://www.peg.com> and then there is a support website called support.peg.com. To create the backend server it doesn't allow for the period is there a way to allow for this in the backend server name


This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |
Re: Domain [ In reply to ]
See
https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#multiple-backends

Your backends might look like

backend www{
.host = "192.0.2.0";
.port = "80";
} backend support{
.host = "192.0.2.1";
.port = "80";
}


The names are just labels.

To use backends like this, see
https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#backends-and-virtual-hosts-in-varnish

Matt

On 27/03/17 16:32, Rodney Bizzell wrote:
>
> Let me rephrase the question. I have a domain name www.peg.com
> <http://www.peg.com> and then there is a support website called
> support.peg.com. To create the backend server it doesn?t allow for the
> period is there a way to allow for this in the backend server name
>
>
>
> This email (including any attachments) may contain confidential
> information intended solely for acknowledged recipients. If you think
> you have received this information in error, please reply to the
> sender and delete all copies from your system. Please note that
> unauthorized use, disclosure, or further distribution of this
> information is prohibited by the sender. Note also that we may monitor
> email directed to or originating from our network. Thank you for your
> consideration and assistance. |
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
RE: Domain [ In reply to ]
Thanks!

From: varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org [mailto:varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org] On Behalf Of Matthew Blissett
Sent: Monday, March 27, 2017 1:05 PM
To: varnish-misc@varnish-cache.org
Subject: Re: Domain


See https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#multiple-backends

Your backends might look like

backend www {

.host = "192.0.2.0";

.port = "80";

}



backend support {

.host = "192.0.2.1";

.port = "80";

}

The names are just labels.

To use backends like this, see https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#backends-and-virtual-hosts-in-varnish

Matt

On 27/03/17 16:32, Rodney Bizzell wrote:
Let me rephrase the question. I have a domain name www.peg.com<http://www.peg.com> and then there is a support website called support.peg.com. To create the backend server it doesn't allow for the period is there a way to allow for this in the backend server name


This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |




_______________________________________________

varnish-misc mailing list

varnish-misc@varnish-cache.org<mailto:varnish-misc@varnish-cache.org>

https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
RE: Domain [ In reply to ]
Also can I use regex to identify support.wpp.com. I have several support backend servers that correlate to specific websites so say that I just wanted to use the name instead of the IP?

From: varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org [mailto:varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org] On Behalf Of Matthew Blissett
Sent: Monday, March 27, 2017 1:05 PM
To: varnish-misc@varnish-cache.org
Subject: Re: Domain


See https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#multiple-backends

Your backends might look like

backend www {

.host = "192.0.2.0";

.port = "80";

}



backend support {

.host = "192.0.2.1";

.port = "80";

}

The names are just labels.

To use backends like this, see https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#backends-and-virtual-hosts-in-varnish

Matt

On 27/03/17 16:32, Rodney Bizzell wrote:
Let me rephrase the question. I have a domain name www.peg.com<http://www.peg.com> and then there is a support website called support.peg.com. To create the backend server it doesn't allow for the period is there a way to allow for this in the backend server name


This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |




_______________________________________________

varnish-misc mailing list

varnish-misc@varnish-cache.org<mailto:varnish-misc@varnish-cache.org>

https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
RE: Domain [ In reply to ]
So have something like this
set req.backend_hint = wpponline;
} else if (req.http.host == "<^(?=.*?\bsupport\b)(?=.*?\bwpponline\b)(?=.*?\bcom\b).*$>"){
set req.backend_hint = support;

I have a totally different backend that support.peg.com and I also have www.peg.com<http://www.peg.com> and then I have a support.ncwrite.com and then I also have www.ncwrite.com

From: Rodney Bizzell
Sent: Monday, March 27, 2017 1:42 PM
To: 'Matthew Blissett' <mblissett@gbif.org>; varnish-misc@varnish-cache.org
Subject: RE: Domain

Also can I use regex to identify support.wpp.com. I have several support backend servers that correlate to specific websites so say that I just wanted to use the name instead of the IP?

From: varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org<mailto:varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org> [mailto:varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org] On Behalf Of Matthew Blissett
Sent: Monday, March 27, 2017 1:05 PM
To: varnish-misc@varnish-cache.org<mailto:varnish-misc@varnish-cache.org>
Subject: Re: Domain


See https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#multiple-backends

Your backends might look like

backend www {

.host = "192.0.2.0";

.port = "80";

}



backend support {

.host = "192.0.2.1";

.port = "80";

}

The names are just labels.

To use backends like this, see https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#backends-and-virtual-hosts-in-varnish

Matt

On 27/03/17 16:32, Rodney Bizzell wrote:
Let me rephrase the question. I have a domain name www.peg.com<http://www.peg.com> and then there is a support website called support.peg.com. To create the backend server it doesn't allow for the period is there a way to allow for this in the backend server name


This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |



_______________________________________________

varnish-misc mailing list

varnish-misc@varnish-cache.org<mailto:varnish-misc@varnish-cache.org>

https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
RE: Domain [ In reply to ]
I just named the backends support 1 2 3 etc

From: varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org [mailto:varnish-misc-bounces+rbizzell=measinc.com@varnish-cache.org] On Behalf Of Matthew Blissett
Sent: Monday, March 27, 2017 1:05 PM
To: varnish-misc@varnish-cache.org
Subject: Re: Domain


See https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#multiple-backends

Your backends might look like

backend www {

.host = "192.0.2.0";

.port = "80";

}



backend support {

.host = "192.0.2.1";

.port = "80";

}

The names are just labels.

To use backends like this, see https://www.varnish-cache.org/docs/5.1/users-guide/vcl-backends.html#backends-and-virtual-hosts-in-varnish

Matt

On 27/03/17 16:32, Rodney Bizzell wrote:
Let me rephrase the question. I have a domain name www.peg.com<http://www.peg.com> and then there is a support website called support.peg.com. To create the backend server it doesn't allow for the period is there a way to allow for this in the backend server name


This email (including any attachments) may contain confidential information intended solely for acknowledged recipients. If you think you have received this information in error, please reply to the sender and delete all copies from your system. Please note that unauthorized use, disclosure, or further distribution of this information is prohibited by the sender. Note also that we may monitor email directed to or originating from our network. Thank you for your consideration and assistance. |




_______________________________________________

varnish-misc mailing list

varnish-misc@varnish-cache.org<mailto:varnish-misc@varnish-cache.org>

https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc