Ero sivun ”Lighttpd” versioiden välillä
(→PHP) |
|||
Rivi 5: | Rivi 5: | ||
lETOMP | 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 == |
Versio 2. toukokuuta 2008 kello 19.36
Lighttpd, puhekielessä Lighty, on kevyt vaihtoehto Apachelle 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
Koska salasanasuojaus on hieman kyseenalainen, mikäli salasanat lähetetään Internetin läpi selkokielisenä, asetetaan vielä SSL-salaus.
Asenna openssl-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/ # 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 /etc/lighttpd/lighttpd.conf-tiedostoon rivit:
# SSL $SERVER["socket"]== "<ip-osoite tai hostname tähän!>:443" { server.document-root = "/var/www" ssl.engine = "enable" ssl.pemfile = "/etc/lighttpd/ssl/esimerkkinimi.pem" }
Ja taas asetukset tulevat voimaan vasta palvelimen uudelleenkäynnistyksen jälkeen.
Nyt sivut pitäisi näkyä myös osoitteessa https://localhost/