Category: Web Servers

How to install and configure NGINX as reverse proxy

NGINX is a web server with excellent performance and low memory footprint. NGINX can be used as a reverse HTTP proxy, as a generic TCP / UPD proxy, as a mail proxy server and as a load balancer, today we will install NGINX on Debian GNU/Linux and use it as a generic TPC/UPD proxy.

How to install Apache on Ubuntu 20.04?

The Apache HTTP Server Project is a community effort to develop and maintain a "free software" HTTP server for modern operating systems (UNIX, GNU / Linux, BSD, Windows).

How to redirect URL with Apache


mod_rewrite is a powerful and sophisticated Apache web server module that allows urls to be rewritten using regular expressions. To redirect the urls to the corresponding url with www in front.

How to install Apache web server on Android?

The Apache HTTP Server Project is a community effort to develop and maintain an open source HTTP server for modern operating systems (UNIX, GNU / Linux, BSD, Windows). The objective of this project is to provide a secure, efficient and extensible server that provides HTTP services in accordance with current HTTP standards.

Install and configure Apache HTTP server

Apache HTTPD

Apache HTTP is a general purpose web server, designed to achieve a balance between flexibility, portability and performance. Apache HTTP has a modular architecture which allows to extend the basic functionality by selecting a set of modules: the modules are compiled as Dynamic Shared Objects (DSO) and they may be enabled/disabled using the LoadModule directive.

Concatenating RewriteCond

Apache HTTPDIf you want to concatenate RewriteCond with logical AND it is enough to put them one under the other view:

- Convert url to lower case using Apache HTTP

If you want to concatenate them with a logical OR then we must use the [OR] operator

Convert url to lower case using Apache HTTP

If your site respond to urls that contain uppercase and lowercase characters (the same page responds to urls: yourdomain.com/my-Url, yourdomain.com/my-url), taking into account SEO parameters that is not good since the search engines are case-sensitive so you'd have more than one page indexed with the same content. A trick you can use is to convert all urls to lowercase, so:

Debugging rewriting urls with mod_rewrite


If you are rewriting urls using mod_rewrite module and you think that all your rules and regular expressions are OK but do not work then you must take a look the following directives:

Enable gzip compression on Apache HTTP

Apache HTTPD
mod_deflate is a module for Apache which compresses the content of each http request before sending it to the client decreasing the page load time for each request.

Proceed as follows to enable gzip compression

Activate mod_filter in Apache on CentOS


When you install Apache HTTP on CentOS, mod_filter is not enabled by default then if you try to use some of its directives an error like this is raised: "Invalid command 'FilterDeclare', perhaps misspelled or defined by a module not included in the server configuration", so to resolve the above error is enough to add the following line to the httpd.conf.