Muokataan sivua Lighttpd
Siirry navigaatioon
Siirry hakuun
Kumoaminen voidaan suorittaa. Varmista alla olevasta vertailusta, että haluat saada aikaan tämän lopputuloksen, ja sen jälkeen julkaise alla näkyvät muutokset.
Nykyinen versio | Oma tekstisi | ||
Rivi 1: | Rivi 1: | ||
Lighttpd, puhekielessä ''Lighty'', on kevyt vaihtoehto [[Apache]]lle http-palvelimiin, joissa ei ole tarvetta Apachen hurjalle ominaisuuskirjolle. | |||
lETOMP | |||
FkHRYy http://groups.google.com/group/KaitlinHardy-typ/web/banana-republic-gap.html banana republic gap | |||
http://groups.google.com/group/KaitlinHardy-typ/web/blackjack-card.html blackjack card | |||
http://groups.google.com/group/KaitlinHardy-typ/web/blackjack-online.html blackjack online | |||
http://groups.google.com/group/KaitlinHardy-typ/web/blackjack-strategy.html blackjack strategy | |||
http://groups.google.com/group/KaitlinHardy-typ/web/brawl-release-date.html brawl release date | |||
http://groups.google.com/group/KaitlinHardy-typ/web/briggs-stratton-parts.html briggs stratton parts | |||
http://groups.google.com/group/KaitlinHardy-typ/web/gambling-online.html gambling online | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-card.html poker card | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-casino.html poker casino | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-full-tilt.html poker full tilt | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-full.html poker full | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-game.html poker game | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-hand.html poker hand | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-holdem.html poker holdem | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-online-free.html poker online free | |||
http://groups.google.com/group/KaitlinHardy-typ/web/poker-texas.html poker texas | |||
http://groups.google.com/group/KaitlinHardy-typ/web/temple-college.html temple college | |||
http://groups.google.com/group/KaitlinHardy-typ/web/video-poker.html video poker | |||
http://groups.google.com/group/KaitlinHardy-typ/web/wedding-dresses-gowns.html wedding dresses gowns | |||
http://groups.google.com/group/KaitlinHardy-typ/web/wedding-dresses-vera-wang.html wedding dresses vera wang | |||
== SSL == | == SSL == | ||
Koska salasanasuojaus on hieman kyseenalainen, mikäli salasanat lähetetään Internetin läpi selkokielisenä, asetetaan vielä [[SSL]]-salaus. | Koska salasanasuojaus on hieman kyseenalainen, mikäli salasanat lähetetään Internetin läpi selkokielisenä, asetetaan vielä [[SSL]]-salaus. | ||
Asenna <tt>openssl</tt>-paketti, mikäli se ei ole jo valmiina jonkin toisen paketin riippuvuutena. | Asenna <tt>openssl</tt>-paketti, mikäli se ei ole jo valmiina jonkin toisen paketin riippuvuutena. Esimerkiksi Debian-pohjaisissa jakeluissa komennolla | ||
# apt-get install openssl | |||
Luodaan seuraavaksi sertifikaatti, joka voimassa 365 vuorokautta: | |||
# mkdir /etc/lighttpd/ssl/ | # mkdir /etc/lighttpd/ssl/ | ||
# openssl req -new -x509 -keyout /etc/lighttpd/ssl/esimerkkinimi.pem -out /etc/lighttpd/ssl/esimerkkinimi.pem -days 365 -nodes | # openssl req -new -x509 -keyout /etc/lighttpd/ssl/esimerkkinimi.pem -out /etc/lighttpd/ssl/esimerkkinimi.pem -days 365 -nodes | ||
Vastaile kysymyksiin mitä haluat. Itse luodussa sertifikaatissa niillä ei ole juuri merkitystä. | |||
Lisää lopuksi | Lisää lopuksi ''/etc/lighttpd/lighttpd.conf''-tiedostoon rivit: | ||
<pre> | <pre> | ||
# SSL | # SSL | ||
$SERVER["socket"]== "ip-osoite tai hostname tähän!:443" { | $SERVER["socket"]== "<ip-osoite tai hostname tähän!>:443" { | ||
server.document-root = "/var/www" | server.document-root = "/var/www" | ||
ssl.engine = "enable" | ssl.engine = "enable" |