Wednesday, November 26, 2025

Routing in HAProxy

An ACL defines a condition that can be used in HAProxy to route requests satisfying the ACL to a group of special backend. 

The condition can be the full or partial matching part of  url, the search parameter in the url, the hostname part of the url, header value, http verb etc. 

beside routing, HAProxy can also send back redirect response to the client (301, 302 ..etc)

Monday, November 24, 2025

HAProxy

 It is a reverse proxy to load balance traffic to the backend servers. It t operates on either tcp (layer 4) or http (layer X ) mode. To the backend servers, the. Kirby become the proxy. Therefore proxy can be configured to add the client ip by adding it as extra http headers. 

ACL can be used ti define a condition which in turn used in other statement to filter (limited) if a connection is to be forwarded to the backend. 

A HAProxy can be set up to forward different traffic received (interface and port) to different set of backend 

Sunday, November 16, 2025

CSS Class

HTML element can define a class attribute.  The class name can be referenced in CSS by prefix it with a dot.  For example, the following refers to the class named "big-text"

.big-text {font: 15}



HTML

 The anchor tag <a> s used to create hypertext link to another document or page. The href (hypertext reference) specifies the url. The target attribute specifies the frame to display the content of the link when clicked on. The value of “_blank” opens the link in a new tab. 

The div (divisions) is used to group a set of elements. The div is used by css to style the set. A span tag further group a subset of element in a div and be applied with a different style. 

Semantic element denotes a specific purpose in a general document. They included header, footer, aside (semantically similar to remark or side notes), article, section and main. 

Friday, November 14, 2025

CSS

Cascade style sheet is designed for to provide a standard look framework for large website with any pages. CSS “cascade the standard style to all the web pages on the site. 

CSS defines a standard formatting spec for a type of elements, or a group of different elements tagged with the same class id, or a single element tagged with an id. These are called element selector, class selector and id selector respectively.

Element selector will be overridden by class selector and in turn overridden by id selector   

Thursday, November 6, 2025

Sprite

A sprite is a small image that represent an object of character in game. Sprite can be animated. Sprite is drawn on 2D game and not so common in 3D. In 3D, sprite could be used for HUD or chart window that display message.