aboutsummaryrefslogtreecommitdiff
path: root/net/self-service-password/files/pkg-message.in
blob: 8cdd010ea0ac7c46d7dd07c4463d522f3b69b420 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[
{ type: install
  message: <<EOM
%%PKGNAME%% has been installed into:

    %%WWWDIR%%

Please edit config.inc.php or create config.inc.local.php to suit your needs.

To make Self Service Password available through your web site, I suggest that
you add something like the following to httpd.conf:

    Alias /ssp/ "%%WWWDIR%%/htdocs/"

    <Directory "%%WWWDIR%%/htdocs">
        Options none
        AllowOverride none

        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1 .example.com
    </Directory>


To make Self Service Password available through your web site, I suggest that
you add something like the following to nginx.conf:

location /ssp/ {
    alias %%WWWDIR%%/htdocs/;
    index index.php;

    location ~ \.php$ {
        fastcgi_pass   unix:/var/run/php-fpm-www.socket;
        fastcgi_param  HTTPS on;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME $request_filename;
        include        fastcgi_params;
    }
}
EOM
}
]