Lighttpd

How to WWW Redirect the Right Way! (Apache, nginx and lighttpd)

Canonical URL is part of a problem for most blogs. Most people who concern about different versions of a URL that display the same content are likely worry about duplicate content issue. As we know, that is not good from the search engine standpoint. The solution is to www redirect — redirecting your blog from …

How to WWW Redirect the Right Way! (Apache, nginx and lighttpd) Lire la suite »

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 »

APC + petit PC

<span class="html">Want to avoid segmentation with  apc.shm_segments?If your linux server limits the shared memory block  size and you're forced to use apc.shm_segments instead, change the  setting by using (here is 512M but change it as you like): # sysctl -w kernel.shmmax=536870912 (but if you want the change to be permanent after a restart you would have to add …

APC + petit PC 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