Web Server

Want to support HowtoForge? Become a subscriber!
 

Make Browsers Cache Static Files On nginx

Make Browsers Cache Static Files On nginx

This tutorial explains how you can configure nginx to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers. This saves bandwidth and makes your web site appear faster (if a user visits your site for a second time, static files will be fetched from the browser cache).

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On OpenSUSE 12.2

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On OpenSUSE 12.2

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an OpenSUSE 12.2 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.

Using mod_spdy With Apache2 On OpenSUSE 12.2 (x86_64)

Using mod_spdy With Apache2 On OpenSUSE 12.2 (x86_64)

SPDY (pronounced "SPeeDY") is a new networking protocol whose goal is to speed up the web. It is Google's alternative to the HTTP protocol and a candidate for HTTP/2.0. SPDY augments HTTP with several speed-related features such as stream multiplexing and header compression. To use SPDY, you need a web server and a browser (like Google Chrome and upcoming versions of Firefox) that both support SPDY. mod_spdy is an open-source Apache module that adds support for the SPDY protocol to the Apache HTTPD server. This tutorial explains how to use mod_spdy with Apache2 on OpenSUSE 12.2.

Serving CGI Scripts With Nginx On Fedora 17

Serving CGI Scripts With Nginx On Fedora 17

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Fedora 17. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

Configuring Your LEMP System (Linux, nginx, MySQL, PHP-FPM) For Maximum Performance

If you are using nginx as your webserver, you are looking for a performance boost and better speed. nginx is fast by default, but you can optimize its performance and the performance of all parts (like PHP and MySQL) that work together with nginx. Here is a small, incomprehensive list of tips and tricks to configure your LEMP system (Linux, nginx, MySQL, PHP-FPM) for maximum performance. These tricks work for me, but your mileage may vary. Do not implement them all at once, but one by one and check what effect the modification has on your system's performance.

Using GeoIP With Nginx On Ubuntu 12.04

Using GeoIP With Nginx On Ubuntu 12.04

This tutorial explains how to use the GeoIP module with nginx on Ubuntu 12.04 to find out where your visitors come from. The GeoIP module sets multiple variables like $geoip_country_name, $geoip_country_code, $geoip_city, etc. that you can use in your PHP scripts or directly in your nginx configuration, for example to serve content in different languages based on the user's country.

TalendMDM Installation On CentOS 5.7 Server With Apache mod_proxy_ajp

TalendMDM Installation On CentOS 5.7 Server With Apache mod_proxy_ajp

Prior to installation make sure your server complies to requirements to be found on: http://www.talend.com/docs/community/prerequisites.html

Using PHP5-FPM With Apache2 On OpenSUSE 12.2

Using PHP5-FPM With Apache2 On OpenSUSE 12.2

This tutorial shows how you can install an Apache2 webserver on an OpenSUSE 12.2 server with PHP5 (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

The Perfect Server - OpenSUSE 12.2 x86_64 (nginx, Dovecot, ISPConfig 3)

The Perfect Server - OpenSUSE 12.2 x86_64 (nginx, Dovecot, ISPConfig 3)

This tutorial shows how to prepare an OpenSUSE 12.2 64bit (x86_64) server with nginx for the installation of ISPConfig 3, and how to install ISPConfig 3. Since version 3.0.4, ISPConfig comes with full support for the nginx web server in addition to Apache, and this tutorial covers the setup of a server that uses nginx instead of Apache. ISPConfig 3 is a webhosting control panel that allows you to configure the following services through a web browser: nginx and Apache web server, Postfix mail server, MySQL, Dovecot POP3/IMAP, BIND or MyDNS nameserver, PureFTPd, SpamAssassin, ClamAV, and many more.

Serving CGI Scripts With Nginx On CentOS 6.3

Serving CGI Scripts With Nginx On CentOS 6.3

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.3. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

first page
previous page
...
12
...
next page
last page