diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-05-04 11:40:13 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2016-05-04 11:40:13 +0200 |
commit | 8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95 (patch) | |
tree | 119808481a01760a4734087a1f2b3f143b2f0a6b /docs | |
parent | 9039103c3750388dc79996ed58e5a2d7162b32ba (diff) | |
download | wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.tar.gz wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.tar.zst wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.zip |
Fix lighttpd documentation
Diffstat (limited to 'docs')
-rw-r--r-- | docs/en/user/installation.rst | 21 | ||||
-rw-r--r-- | docs/fr/user/installation.rst | 21 |
2 files changed, 20 insertions, 22 deletions
diff --git a/docs/en/user/installation.rst b/docs/en/user/installation.rst index 3872ad3a..d22f8549 100644 --- a/docs/en/user/installation.rst +++ b/docs/en/user/installation.rst | |||
@@ -192,20 +192,20 @@ After reloading or restarting nginx, you should now be able to access wallabag a | |||
192 | 192 | ||
193 | When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``. | 193 | When you want to import large file into wallabag, you need to add this line in your nginx configuration ``client_max_body_size XM; # allows file uploads up to X megabytes``. |
194 | 194 | ||
195 | Configuration on LigHTTPd | 195 | Configuration on lighttpd |
196 | ~~~~~~~~~~~~~~~~~~~~~~~~~ | 196 | ~~~~~~~~~~~~~~~~~~~~~~~~~ |
197 | 197 | ||
198 | Edit your ``lighttpd.conf`` file and paste this configuration into it: | 198 | Assuming you install wallabag in the /var/www/wallabag folder, here's the recipe for wallabag (edit your ``lighttpd.conf`` file and paste this configuration into it): |
199 | 199 | ||
200 | :: | 200 | :: |
201 | 201 | ||
202 | server.modules = ( | 202 | server.modules = ( |
203 | "mod_fastcgi", | 203 | "mod_fastcgi", |
204 | "mod_access", | 204 | "mod_access", |
205 | "mod_alias", | 205 | "mod_alias", |
206 | "mod_compress", | 206 | "mod_compress", |
207 | "mod_redirect", | 207 | "mod_redirect", |
208 | "mod_rewrite", | 208 | "mod_rewrite", |
209 | ) | 209 | ) |
210 | server.document-root = "/var/www/wallabag/web" | 210 | server.document-root = "/var/www/wallabag/web" |
211 | server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) | 211 | server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) |
@@ -226,9 +226,8 @@ Edit your ``lighttpd.conf`` file and paste this configuration into it: | |||
226 | dir-listing.activate = "disable" | 226 | dir-listing.activate = "disable" |
227 | 227 | ||
228 | url.rewrite-if-not-file = ( | 228 | url.rewrite-if-not-file = ( |
229 | "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", | 229 | "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", |
230 | "^/([^?]*)" => "/app.php?=$1", | 230 | "^/([^?]*)" => "/app.php?=$1", |
231 | "^/wiki$" => "/app.php", | ||
232 | ) | 231 | ) |
233 | 232 | ||
234 | Rights access to the folders of the project | 233 | Rights access to the folders of the project |
diff --git a/docs/fr/user/installation.rst b/docs/fr/user/installation.rst index 9039d608..8f2ae25d 100644 --- a/docs/fr/user/installation.rst +++ b/docs/fr/user/installation.rst | |||
@@ -189,20 +189,20 @@ Après que vous ayez rechargé/redémarré Nginx, vous devriez pouvoir avoir acc | |||
189 | 189 | ||
190 | Si vous voulez importer un fichier important dans wallabag, vous devez ajouter cette ligne dans votre configuration nginx ``client_max_body_size XM; # allows file uploads up to X megabytes``. | 190 | Si vous voulez importer un fichier important dans wallabag, vous devez ajouter cette ligne dans votre configuration nginx ``client_max_body_size XM; # allows file uploads up to X megabytes``. |
191 | 191 | ||
192 | Configuration avec LigHTTPd | 192 | Configuration avec lighttpd |
193 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 193 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
194 | 194 | ||
195 | Éditez votre fichier ``lighttpd.conf`` collez-y cette configuration : | 195 | En imaginant que vous vouliez installer wallabag dans le dossier ``/var/www/wallabag``, voici un fichier de configuration pour wallabag (éditez votre fichier ``lighttpd.conf`` collez-y cette configuration) : |
196 | 196 | ||
197 | :: | 197 | :: |
198 | 198 | ||
199 | server.modules = ( | 199 | server.modules = ( |
200 | "mod_fastcgi", | 200 | "mod_fastcgi", |
201 | "mod_access", | 201 | "mod_access", |
202 | "mod_alias", | 202 | "mod_alias", |
203 | "mod_compress", | 203 | "mod_compress", |
204 | "mod_redirect", | 204 | "mod_redirect", |
205 | "mod_rewrite", | 205 | "mod_rewrite", |
206 | ) | 206 | ) |
207 | server.document-root = "/var/www/wallabag/web" | 207 | server.document-root = "/var/www/wallabag/web" |
208 | server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) | 208 | server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) |
@@ -223,9 +223,8 @@ Configuration avec LigHTTPd | |||
223 | dir-listing.activate = "disable" | 223 | dir-listing.activate = "disable" |
224 | 224 | ||
225 | url.rewrite-if-not-file = ( | 225 | url.rewrite-if-not-file = ( |
226 | "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", | 226 | "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", |
227 | "^/([^?]*)" => "/app.php?=$1", | 227 | "^/([^?]*)" => "/app.php?=$1", |
228 | "^/wiki$" => "/app.php", | ||
229 | ) | 228 | ) |
230 | 229 | ||
231 | Droits d'accès aux dossiers du projet | 230 | Droits d'accès aux dossiers du projet |