![]() |
SlugOS.WebServer HistoryHide minor edits - Show changes to markup September 09, 2008, at 08:42 PM
by --
Changed line 44 from:
For testing point your browser to the Slug Address and por 8081:\\ to:
For testing point your browser to the Slug Address and port 8081:\\ September 09, 2008, at 08:42 PM
by --
Changed line 14 from:
Locate the file lighttpd.conf and edit it in /opt/etc/lighttpd. Make sure that you first make a backup copy.\\ to:
Locate the file lighttpd.conf and edit it in /opt/etc/lighttpd. Make sure that you first make a backup copy.\\ Changed lines 29-30 from:
To pick up the new configuration just execute /opt/etc/init.d/S80lighttpd restart to:
To pick up the new configuration just execute /opt/etc/init.d/S80lighttpd restart Changed line 45 from:
http://slugos:8081\\ to:
http://slugos:8081\\ Changed lines 61-62 from:
Point your browser to http://slugos:8081/info.php. You should get the PHP status/configuration web page. to:
Point your browser to http://slugos:8081/info.php. You should get the PHP status/configuration web page. September 09, 2008, at 08:41 PM
by --
Changed line 14 from:
Locate the file lighttpd.conf and edit it in /opt/etc/lighttpd. Make sure that you first make a backup copy.\\ to:
Locate the file lighttpd.conf and edit it in /opt/etc/lighttpd. Make sure that you first make a backup copy.\\ Changed lines 29-30 from:
To pick up the new configuration just execute /opt/etc/init.d/S80lighttpd restart to:
To pick up the new configuration just execute /opt/etc/init.d/S80lighttpd restart Added line 34:
Changed line 45 from:
http://slugos:8081\\ to:
http://slugos:8081\\ Changed lines 61-62 from:
Point your browser to http://slugos:8081/info.php. You should get the PHP status/configuration web page. to:
Point your browser to http://slugos:8081/info.php. You should get the PHP status/configuration web page. September 09, 2008, at 08:39 PM
by --
Changed lines 62-63 from:
to:
Further informationSeptember 09, 2008, at 08:38 PM
by --
Added lines 41-62:
TestingFor testing point your browser to the Slug Address and por 8081: Testing PHPCreate a file named info.php in /opt/share/www (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) <?php phpinfo(); ?> (:tableend:) Point your browser to http://slugos:8081/info.php. You should get the PHP status/configuration web page. September 09, 2008, at 08:34 PM
by --
Deleted lines 19-21:
$ cat ~/test-php/lighttpd-php.conf @] (:cellnr bgcolor=#eeeeee:) [@ Changed lines 29-30 from:
To pick up the new configuration just execute **/opt/etc/init.d/S80lighttpd restart** to:
To pick up the new configuration just execute /opt/etc/init.d/S80lighttpd restart September 09, 2008, at 08:33 PM
by --
Changed lines 29-43 from:
(:tableend:) to:
(:tableend:) Your done. The php-cgi configuration file is picked up automatically from the conf.d sub-directory, so no further changes are necessary. StartupIf you want the web server to start automatically at boot time do the following: (:table border=0 width=80% bgcolor=#eeffee:) (:cell:) cp /opt/etc/init.d/S80lighttpd /etc/init.d ln -s /etc/rc3.d/S80lighttpd /etc/init.d/S80lighttpd (:tableend:) September 09, 2008, at 08:28 PM
by --
Changed line 9 from:
] to:
@] September 09, 2008, at 08:27 PM
by -- Initial page
Added lines 1-29:
Make sure first that you install the Optware repositories so that you can install Lighttpd web server and the PHP interpreter Install lightppd & php-fcgi packages(:table border=0 width=80% bgcolor=#eeffee:) (:cell:) # ipkg-opt install lighttpd php-fcgi ] (:tableend:) !!! Edit the lighttpd configuration file Locate the file lighttpd.conf and edit it in /opt/etc/lighttpd. Make sure that you first make a backup copy.\\ Uncomment the line mod_fastcgi by removing the #. (:table border=0 width=80%:) (:cellnr bgcolor=#eeffee:) [@ $ cat ~/test-php/lighttpd-php.conf (:cellnr bgcolor=#eeeeee:)
server.port = 8081
server.modules = (
"mod_access",
"mod_fastcgi",
"mod_accesslog" )
(:tableend:) |