www_dotclear
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
www_dotclear [2012/02/20 18:32] – thierry | www_dotclear [2012/05/01 14:15] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | |||
+ | DotClear WordPress or DokuWiki ? | ||
+ | |||
+ | ====== DokuWiki ====== | ||
+ | |||
+ | Blogger avec DokuWiki est peut être la bonne solution. | ||
+ | |||
+ | Liens: | ||
+ | *http:// | ||
+ | *http:// | ||
+ | |||
+ | A voir... Parce que ni DotClear, ni WordPress ne font ce que je veux! | ||
+ | |||
+ | Un exemple à suivre ? : http:// | ||
+ | |||
+ | Le template de complément: | ||
+ | |||
====== Wordpress ====== | ====== Wordpress ====== | ||
Ligne 40: | Ligne 57: | ||
On aura générer le "< | On aura générer le "< | ||
+ | ==== Apache2 ==== | ||
- | ==== apache2 ==== | + | === php5-cgi |
+ | Lien: http:// | ||
+ | |||
+ | # aptitude install apache2-mpm-worker | ||
+ | # aptitude install php5-cgi | ||
+ | |||
+ | Activer “php5-cgi” en lieu et place de son equivalent en module (voir section suivante). | ||
+ | |||
+ | |||
+ | === virtualhost === | ||
+ | |||
+ | Pour mémoire: | ||
+ | < | ||
+ | ServerAdmin webmaster@MONBLOG-PERSO.FR | ||
+ | ServerName wordpress.MONBLOG-PERSO.FR | ||
+ | | ||
+ | DocumentRoot / | ||
+ | | ||
+ | < | ||
+ | Options FollowSymLinks | ||
+ | AllowOverride None | ||
+ | Order deny,allow | ||
+ | deny from all | ||
+ | </ | ||
+ | | ||
+ | ScriptAlias /cgi-bin/ / | ||
+ | < | ||
+ | AllowOverride None | ||
+ | Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | </ | ||
+ | | ||
+ | < | ||
+ | DirectoryIndex index.php | ||
+ | Options +FollowSymLinks -Indexes | ||
+ | AllowOverride FileInfo | ||
+ | # | ||
+ | | ||
+ | #Order allow,deny | ||
+ | #allow from all | ||
+ | Order deny,allow | ||
+ | Allow From < | ||
+ | Deny From All | ||
+ | | ||
+ | AddHandler cgi-php5 .php | ||
+ | Action cgi-php5 / | ||
+ | </ | ||
+ | | ||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | | ||
+ | # Possible values include: debug, info, notice, warn, error, crit, | ||
+ | # alert, emerg. | ||
+ | LogLevel warn | ||
+ | | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==== wp-config.php ==== | ||
+ | |||
+ | # cd / | ||
+ | # cp -p wp-config-sample.php wp-config.php | ||
+ | |||
+ | Adapter wp-config.php selon son MySQL. Par exemple (extrait): | ||
+ | define(' | ||
+ | define(' | ||
+ | define(' | ||
+ | Et en passant par là: [[https:// | ||
+ | ... on peut aussi générer d' | ||
+ | define(' | ||
+ | ... | ||
+ | etc... | ||
+ | |||
+ | ==== configuration ==== | ||
+ | |||
+ | Maintenant, on devrait pouvoir atteindre la page d' | ||
+ | |||
+ | ==== Bugs ==== | ||
+ | |||
+ | === === | ||
+ | |||
+ | Liens: | ||
+ | *http:// | ||
+ | *http:// | ||
+ | |||
+ | suhosin[9817]: | ||
+ | |||
+ | Dans **''/ | ||
+ | extension=suhosin.so | ||
+ | [suhosin] | ||
+ | suhosin.memory_limit = 256M | ||
===== Tips ===== | ===== Tips ===== | ||
+ | ==== Sécurité ==== | ||
+ | http:// | ||
+ | |||
+ | ==== Permalien ==== | ||
+ | |||
+ | (Permalink) | ||
+ | |||
+ | Lien: http:// | ||
+ | |||
+ | # a2enmod rewrite | ||
+ | |||
+ | Et ajouter dans le " | ||
+ | AllowOverride FileInfo | ||
+ | |||
+ | ==== DokuWiki ==== | ||
+ | |||
+ | Lien: http:// | ||
+ | |||
+ | # cd / | ||
+ | # wget http:// | ||
+ | # unzip wp-dokuwiki.zip | ||
+ | # chown -R www-data: wp-dokuwiki | ||
+ | |||
+ | Activer le plugin dans le panneau de controle. | ||
+ | |||
+ | Ensuite, le tab " | ||
+ | < | ||
+ | **Hello World** | ||
+ | </ | ||
+ | |||
+ | Mais en fait, il subsite au moins 1 bug énervant: Impossible d' | ||
+ | |||
+ | ==== syntaxhighlighter ==== | ||
+ | |||
+ | Lien: http:// | ||
+ | |||
====== DotClear2 ====== | ====== DotClear2 ====== |
www_dotclear.txt · Dernière modification : 2012/05/01 14:15 de thierry