Installing Magento on Lighttpd 1.4.X via FastCGI

Last modified by pss7 on Thu, June 24, 2010 15:21
Source|Old Revisions  

This is an old revision of the document!


If you are familiar with Lighttpd, it does not support .htaccess, thus the out of the box magento installation won’t work. Never fear, however, for a simple server configuration change makes it all better.

  1. $HTTP["host"] =~ "^(www.)?example.com$" {
  2.         server.name     = "www.example.com"
  3.         server.document-root  = "/var/www/example.com/magento/"
  4.         server.error-handler-404 = "/index.php"
  5. }

Essentially, this forwards all non-existent urls in index.php for routing. Simple.

keep in mind, that this solution will kill your google ranking and is just a stupid quick and dirty solution




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs