mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-11 17:35:25 +00:00
Fix lighttpd documentation
This commit is contained in:
parent
9039103c37
commit
8b563fc04e
2 changed files with 20 additions and 22 deletions
|
@ -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``.
|
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 = (
|
server.modules = (
|
||||||
"mod_fastcgi",
|
"mod_fastcgi",
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_alias",
|
"mod_alias",
|
||||||
"mod_compress",
|
"mod_compress",
|
||||||
"mod_redirect",
|
"mod_redirect",
|
||||||
"mod_rewrite",
|
"mod_rewrite",
|
||||||
)
|
)
|
||||||
server.document-root = "/var/www/wallabag/web"
|
server.document-root = "/var/www/wallabag/web"
|
||||||
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
|
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"
|
dir-listing.activate = "disable"
|
||||||
|
|
||||||
url.rewrite-if-not-file = (
|
url.rewrite-if-not-file = (
|
||||||
"^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
|
"^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
|
||||||
"^/([^?]*)" => "/app.php?=$1",
|
"^/([^?]*)" => "/app.php?=$1",
|
||||||
"^/wiki$" => "/app.php",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
Rights access to the folders of the project
|
Rights access to the folders of the project
|
||||||
|
|
|
@ -189,20 +189,20 @@ Après que vous ayez rechargé/redémarré Nginx, vous devriez pouvoir avoir acc
|
||||||
|
|
||||||
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``.
|
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``.
|
||||||
|
|
||||||
Configuration avec LigHTTPd
|
Configuration avec lighttpd
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Éditez votre fichier ``lighttpd.conf`` collez-y cette configuration :
|
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) :
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
server.modules = (
|
server.modules = (
|
||||||
"mod_fastcgi",
|
"mod_fastcgi",
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_alias",
|
"mod_alias",
|
||||||
"mod_compress",
|
"mod_compress",
|
||||||
"mod_redirect",
|
"mod_redirect",
|
||||||
"mod_rewrite",
|
"mod_rewrite",
|
||||||
)
|
)
|
||||||
server.document-root = "/var/www/wallabag/web"
|
server.document-root = "/var/www/wallabag/web"
|
||||||
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
|
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
|
||||||
|
@ -223,9 +223,8 @@ Configuration avec LigHTTPd
|
||||||
dir-listing.activate = "disable"
|
dir-listing.activate = "disable"
|
||||||
|
|
||||||
url.rewrite-if-not-file = (
|
url.rewrite-if-not-file = (
|
||||||
"^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
|
"^/([^?])(?:\?(.))?" => "/app.php?$1&$2",
|
||||||
"^/([^?]*)" => "/app.php?=$1",
|
"^/([^?]*)" => "/app.php?=$1",
|
||||||
"^/wiki$" => "/app.php",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
Droits d'accès aux dossiers du projet
|
Droits d'accès aux dossiers du projet
|
||||||
|
|
Loading…
Reference in a new issue