Ero sivun ”Lighttpd” versioiden välillä

Siirry navigaatioon Siirry hakuun
3 268 merkkiä poistettu ,  23. toukokuuta 2008
p
palautus
(58mIstx825)
p (palautus)
Rivi 1: Rivi 1:
Lighttpd, puhekielessä ''Lighty'', on kevyt vaihtoehto [[Apache]]lle http-palvelimiin, joissa ei ole tarvetta Apachen hurjalle ominaisuuskirjolle.
Lighttpd, puhekielessä ''Lighty'', on kevyt vaihtoehto [[Apache]]lle http-palvelimiin, joissa ei ole tarvetta Apachen hurjalle ominaisuuskirjolle.


<a href= http://groups.google.com/group/AnitaHughes-nkx/web/adoption-dog.html >adoption dog</a>
== Asennus==
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/apr-credit.html >apr credit</a>
Lighttpd löytyy useimpien [[jakelu]]iden [[paketinhallinta|paketinhallinnasta]]. Esimerkiksi [[Debian]]-pohjaisissa jakeluissa asennus onnistuisi komennolla
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ata-serial.html >ata serial</a>
# apt-get install lighttpd
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/berkeley-university.html >berkeley university</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/chevrolet-equinox.html >chevrolet equinox</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/chrysler-jeep.html >chrysler jeep</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/chrysler-motors.html >chrysler motors</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/dodge-dealers.html >dodge dealers</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-2001.html >ford 2001</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-2009.html >ford 2009</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-auto.html >ford auto</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-dealer.html >ford dealer</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-escape.html >ford escape</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-focus.html >ford focus</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/ford-trucks.html >ford trucks</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/gmc-cadillac.html >gmc cadillac</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/gmc-dealer.html >gmc dealer</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/gmc-dealers.html >gmc dealers</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/gmc-motors.html >gmc motors</a>
<a href= http://groups.google.com/group/AnitaHughes-nkx/web/homes-for-rent.html >homes for rent</a>


<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/adoption-animal.html >adoption animal</a>
== PHP ==
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/adoption-dogs.html >adoption dogs</a>
Dynaamisten sivujen käyttö on mahdollista FastCGI:n ja PHP:n avulla. Aluksi on asennettava [[PHP]]:n CGI-versio, joka Debian-pohjaisissa jakeluissa löytyy paketista <tt>php5-cgi</tt> ja asennettaisiin täten komennolla
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/adoption-ohio.html >adoption ohio</a>
# apt-get install php5-cgi
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/bed-bath-bath-and-beyond.html >bed bath bath and beyond</a>
 
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/bed-bath.html >bed bath</a>
Seuraavaksi on lisättävä [[asetustiedosto]]n ''/etc/lighttpd/lighttpd.conf'' <tt>server.modules</tt>-listaan "<tt>mod_fastcgi</tt>".
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/berkeley-college.html >berkeley college</a>
 
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/berkeley-university-california.html >berkeley university california</a>
Samaan tiedostoon on myös lisättävä seuraavat rivit:
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/berkeley-university-of-california.html >berkeley university of california</a>
<pre>
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/chrysler-chrysler.html >chrysler chrysler</a>
## FastCGI conf
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/chrysler-daimler.html >chrysler daimler</a>
fastcgi.server = ( ".php" => ((
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/dodge-1500-ram.html >dodge 1500 ram</a>
"bin-path" => "/usr/bin/php5-cgi",
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/dodge-dakota.html >dodge dakota</a>
"socket" => "/tmp/php.socket"
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/dodge-dealer.html >dodge dealer</a>
))
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/dodge-truck.html >dodge truck</a>
)</pre>
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ferrari-sale.html >ferrari sale</a>
 
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ford-center.html >ford center</a>
Lopuksi tallennetaan muutokset ja käynnistetään palvelin uudelleen komennolla
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ford-dealers.html >ford dealers</a>
# /etc/init.d/lighttpd restart
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ford-model.html >ford model</a>
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ford-motor-company.html >ford motor company</a>
<a href= http://groups.google.com/group/VirginiaSophiaTownsend-pvl/web/ford-motor.html >ford motor</a>


== Salasanasuojatut hakemistot ==
== Salasanasuojatut hakemistot ==
4 316

muokkausta

Navigointivalikko