Saturday, August 15th, 2009
nginx
Recent nginx updates support try_files and internal location directives. These features make nginx more flexible as a web server for Drupal.
try_files checks for existence of files in order, and returns the first file that is found. In Drupal’s logic, try_files enables the server to check Boost-generated cache, imagecache images, and Drupal installation in order.
@location syntax [...]
At UPEI our web pages are powered by an open-source web platform Drupal but served as static pages that are mirrored (in our terminology, scraped) by httrack to a front-end server. Most components of web pages are static except emergency messages, contact forms, and some bits of media files. All external access goes to the [...]
Sunday, February 15th, 2009
Type: Tutorial
Difficulty: Intermediate
I have a fresh website based on Apache+PHP5 to be converted into Nginx and PHP5-FastCGI. What can I do?
Stage 1 CGI version of PHP5
Nginx only supports CGI version of PHP5 (not the Apache module). In FastCGI mode, PHP5 runs like a server that forks out a number of children to handle incoming requests. [...]