Difference between revisions of "Lighttpd"

From WebOS Internals
Jump to navigation Jump to search
(New page: = Configuring the Lighttpd web server = == Preliminaries== # Gain root access. # Setup the Optware Feed. # Open the root file system to read/...)
 
Line 8: Line 8:
 
== Install Lighttpd with PHP support ==
 
== Install Lighttpd with PHP support ==
 
<pre><nowiki>ipkg-opt install lighttpd php-fcgi</nowiki></pre>
 
<pre><nowiki>ipkg-opt install lighttpd php-fcgi</nowiki></pre>
 +
 +
== Tweak settings ==
 +
<pre><nowiki>vi /opt/etc/lighttpd/lighttpd.conf</nowiki></pre>
 +
If you are going to run static HTML pages, there is no need to do this.  If you want the ability to run PHP pages then this line must be uncommented:
 +
 +
<pre><nowiki>                                "mod_fastcgi", </nowiki></pre>

Revision as of 06:03, 31 July 2009

Configuring the Lighttpd web server

Preliminaries

  1. Gain root access.
  2. Setup the Optware Feed.
  3. Open the root file system to read/write with rootfs_open.

Install Lighttpd with PHP support

ipkg-opt install lighttpd php-fcgi

Tweak settings

vi /opt/etc/lighttpd/lighttpd.conf

If you are going to run static HTML pages, there is no need to do this. If you want the ability to run PHP pages then this line must be uncommented:

                                "mod_fastcgi",