CONTENT
  • CHANGES
Szukaj
counter

#top Konfiguracja


#top Listen


Zobacz także Listen dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd: OPTIONS
Składnia: host=<hostaddress>
Składnia: port=<portnumber>
Opis:

EXAMPLES
# listen on ipv4 address only
# host=0.0.0.0
# port=80

# listen on ipv6 address only
# host=::
# port=80

# listen on all interfaces and address
host=*
port=80



#top Timeout


Zobacz także Timeout dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID



#top Signature


Zobacz także Signature dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd: SHOW_SERVER_VERSION
Składnia: -
Opis:

EXAMPLES




#top vhosts default


Zobacz także vhosts default dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Brak obsługi domyślnego virtual hosta!!!

Dokumentacja thttpd: MULTIHOMING
Dokumentacja thttpd: name based virtual domains
Now, what if you want to serve multiple domains? With HTTP/1.1 you can do "name based" virtual domains, which are very easy to set up. As of version 2.05 thttpd supports them.
  • DNS.
    Name-based virtual hosts are set up via the domain name system. You make a CNAME record (which is basically an alias) for each virtual host pointing at the real host. A full explanation of DNS and BIND is way beyond the scope of this document, but if you just tell your local DNS person that you want to make some CNAMEs, they'll know what to do.
  • Config file.
    All you have to do here is add the "vhost" option to your thttpd_config file.
  • * Data directory.
    The data dir for a vhost system is different. The top level directory should not contain any HTML stuff. Instead all it contains is subdirectories, one per virtual host. The directory's name is just the virtual hostname, or an IP number The HTML for each host goes in its subdirectory. The vhost directory for my own secondary web server looks like this:
            lrwxr-xr-x   1 root  www   13 Nov 15 11:32 192.100.66.6@ -> gate.acme.com
            lrwxr-xr-x   1 root  www   13 Nov 15 11:32 63.197.234.19@ -> gate.acme.com
            drwxrwxr-x   3 root  www  512 Nov 15 12:15 gate.acme.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.axilla.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:16 www.cloaca.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.foetid.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.lirpa.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.maxnix.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.phoon.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.setuid.com/
            drwxrwxr-x   2 root  www  512 Nov 15 12:04 www.tranya.com/
    

    The server's "real" name is gate.acme.com, and I added symbolic links for its two IP numbers. In addition there are directories for all the virtual hosts I'm serving.

That ought to do it for name-based vhosting.

EXAMPLES
# wyłączenie obsługi wirtualnych hostów
# novhost

# włączenie obsługi virtualnych hostów
vhost



#top vhosts SSL


Zobacz także vhosts SSL dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Brak obsługi połączeń szyfrowanych!!!



#top ErrorLog


Zobacz także ErrorLog dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Brak obsługi konfiguracji logowania błedów do pliku!!!

Dokumentacja thttpd: LOGS

If you'd rather log directly to a file, you can use the -l command-line flag. But note that error messages still go to syslog.



#top AccessLog


Zobacz także AccessLog dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd: LOGS
Składnia: logfile=file
Opis:

EXAMPLES
logfile=/var/log/thttpd/thttpd.log



#top LogFormat


Zobacz także LogFormat dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Brak obsługi konfiguracji formatu logowania informacji!!!



#top server status


Zobacz także server status dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd: SIGNALS

SIGNALS
thttpd handles a couple of signals, which you can send via the standard Unix kill(1) command:
USR2
This signal tells thttpd to generate the statistics syslog messages immediately, instead of waiting for the regular hourly update.



#top Modules


Zobacz także Modules dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top mod-logging


Zobacz także mod-logging dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top mod-misc


Zobacz także mod-misc dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top mod-auth


Zobacz także mod-auth dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top mod-headers


Zobacz także mod-headers dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top mod-proxy


Zobacz także mod-proxy dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:

Budowa monolityczna. Brak obsługi funkcjonalności ładowania modułów (brak modułów)!!!



#top Access Restrictions


#top AccessAllow


Zobacz także AccessAllow dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top AccessDeny


Zobacz także AccessDeny dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top headers


#top HTTP Header Add


Zobacz także HTTP Header Add dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Brak obsługi konfiguracji dodawania własnych nagłówków!!!

Dokumentacja thttpd: OPTIONS
Składnia: max_age
Składnia: charset
Opis:

EXAMPLES
max_age
charset



#top HTTP Header Set


Zobacz także HTTP Header Set dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top HTTP Header Remove


Zobacz także HTTP Header Remove dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top Header Access


Zobacz także Header Access dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top Header MIME


Zobacz także Header MIME dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS Engine


#top TLS Enable


Zobacz także TLS Enable dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS Cert/Key File


Zobacz także TLS Cert/Key File dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS Protocols


Zobacz także TLS Protocols dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS CipherSuite


Zobacz także TLS CipherSuite dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS Compression


Zobacz także TLS Compression dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES




#top TLS Options


Zobacz także TLS Options dla: Apache | Nginx | Lighttpd | thttpd | HAProxy | Varnish | SQUID

Dokumentacja thttpd:
Składnia: -
Opis:

EXAMPLES











































Zmodyfikowany ostatnio: 2018/01/04 19:49:27 (7 lat temu), textsize: 17,7 kB, htmlsize: 34,4 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników