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/en | |
parent | 9039103c3750388dc79996ed58e5a2d7162b32ba (diff) | |
download | wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.tar.gz wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.tar.zst wallabag-8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95.zip |
Fix lighttpd documentation
Diffstat (limited to 'docs/en')
-rw-r--r-- | docs/en/user/installation.rst | 21 |
1 files changed, 10 insertions, 11 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 |