htdigest sous Lighttpd

Les htaccess n’existent pas sous Lighttpd, mais il y a un équivalent de taille. Vérifiez avant de commencer que le module mod_auth est bien chargé. Nous allons dans un premier temps générer (avec -c pour la première fois, comme un htaccess) un fichier contenant les identifiants pour être autoriser à consulter tel ou tel site : […]

lighttpd + PHP-FPM on Debian Squeeze – saghul, on code

lighttpd + PHP-FPM on Debian Squeeze I’m not a super-BOFH but I do like to host my own blog (not this on, though) and play with stuff. In the past I used to use Apache, but I never liked the VirtualHosts configuration, specially when it gets big. Don’t get me wrong, I’m not saying its […]

Lighttpd – HowToSimpleSSL – lighty labs

Setting up a simple SSL configuration¶ Setting up a simple SSL configuration with Lighttpd is quite easy. Though this method should be used with care because this setup will only provide proper encryption, not authentication! The user will be presented with a query whether to accept the certificate or not! First, go into your SSL […]

2skies.com :: basic http authentication with lighttpd

Password protection can limit access to your website or a specific sub-directory. lighttpd.conf Make sure you enable mod_access and mod_auth in your lighttpd.conf: server.modules += ( « mod_access » ) server.modules += ( « mod_auth » ) htpasswd #htpasswd -c ~/lighttpd/foo-auth.xt username Running this command will prompt for this user’s new password to store in the txt file. Combining […]

URL rewriting sous lighttpd pour wordpress optimisé SEO

Pour faire fonctionner wordpress avec le rewriting et lighttpd, j’ai trouvé ça en surfant : $HTTP[« host »] =~ « votreurl » { url.rewrite-final =( # On ne reecrit pas certain dossiers « ^/(wp-admin|wp-includes|wp-content|gallery2)/(.*) » => « $0 », # meme chose pour les fichiers .php « ^/(.*.php) » => « $0 », # Par contre on refait les permaliens « ^/(.*)$ » => « /index.php/$1 » ) } Mon conseil […]