diff options
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 |