From 8b563fc04ee5ab6adc8370bdaf7f8a5b50f14f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 4 May 2016 11:40:13 +0200 Subject: Fix lighttpd documentation --- docs/en/user/installation.rst | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'docs/en') 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 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``. -Configuration on LigHTTPd +Configuration on lighttpd ~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit your ``lighttpd.conf`` file and paste this configuration into it: +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): :: server.modules = ( - "mod_fastcgi", - "mod_access", - "mod_alias", - "mod_compress", - "mod_redirect", - "mod_rewrite", + "mod_fastcgi", + "mod_access", + "mod_alias", + "mod_compress", + "mod_redirect", + "mod_rewrite", ) server.document-root = "/var/www/wallabag/web" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) @@ -226,9 +226,8 @@ Edit your ``lighttpd.conf`` file and paste this configuration into it: dir-listing.activate = "disable" url.rewrite-if-not-file = ( - "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", - "^/([^?]*)" => "/app.php?=$1", - "^/wiki$" => "/app.php", + "^/([^?])(?:\?(.))?" => "/app.php?$1&$2", + "^/([^?]*)" => "/app.php?=$1", ) Rights access to the folders of the project -- cgit v1.2.3