From 3a6f91a9ccbdd8f2ed8e33c88c7800f2623cfd3a Mon Sep 17 00:00:00 2001
From: VirtualTam index.php
it is wrap in a PHP comment to prevent anyone accessing it, regardless of server configuration
The server process running Shaarli must have:
-- read
access to the following resources:
- - PHP scripts: index.php
, application/*.php
, plugins/*.php
- - 3rd party PHP and Javascript libraries: inc/*.php
, inc/*.js
- - static assets:
- - CSS stylesheets: inc/*.css
- - images/*
- - RainTPL templates: tpl/*.html
-- read
, write
and execution
access to the following directories:
- - cache
- thumbnail cache
- - data
- link data store, configuration options
- - pagecache
- Atom/RSS feed cache
- - tmp
- RainTPL page cache
On a Linux distribution:
-- the web server user will likely be www
or http
(for Apache2)
-- it will be a member of a group of the same name: www:www
, http:http
-- to give it access to Shaarli, either:
- - unzip Shaarli in the default web server location (usually /var/www/
) and set the web server user as the owner
- - put users in the same group as the web server, and set the appropriate access rights
-- if you have a domain / subdomain to serve Shaarli, configure the server accordingly
The server process running Shaarli must have:
+read
access to the following resources:index.php
, application/*.php
, plugins/*.php
inc/*.php
, inc/*.js
inc/*.css
images/*
tpl/*.html
read
, write
and execution
access to the following directories:cache
- thumbnail cachedata
- link data store, configuration optionspagecache
- Atom/RSS feed cachetmp
- RainTPL page cacheOn a Linux distribution:
+www
or http
(for Apache2)www:www
, http:http
/var/www/
) and set the web server user as the ownerIn data/config.json.php
.
See also Plugin System.
-- cgit v1.2.3