lighttpd

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 …

2skies.com :: basic http authentication with lighttpd Lire la suite »

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 …

URL rewriting sous lighttpd pour wordpress optimisé SEO Lire la suite »

Retour en haut