Skip to content

Commit 3b46326

Browse files
authored
Added simplesaml php config
1 parent b46c3fe commit 3b46326

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

simplesamlphp/README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SimplesamlPHP configuration
22

3+
## Using Simplesamlphp from /vendor directory (Recommended)
4+
35
Purpose of this directory to store SimplesamlPHP configuration.
46

57
SimplesamlPHP library code manages via composer and stored in `vendor/simplesamlphp`
@@ -14,7 +16,7 @@ like:
1416

1517
In example above is assumes that your project installed in `/var/www` directory.
1618

17-
## Recommended
19+
### Recommended
1820

1921
Recommended directories configuration in `simplesamlphp/config/config.php` file:
2022
```
@@ -23,3 +25,19 @@ Recommended directories configuration in `simplesamlphp/config/config.php` file:
2325
'datadir' => '/project/root/path/simplesamlphp/data/',
2426
'tempdir' => '/project/root/path/tmp/simplesamlphp',
2527
```
28+
29+
## Using Simplesamlphp from custom installed directory fx: /var/simplesamlphp
30+
31+
Configuration from this directory attached to application via vhost settings in apache server
32+
like:
33+
34+
```
35+
SetEnv SIMPLESAMLPHP_CONFIG_DIR /var/simplesamlphp/config
36+
Alias /simplesaml /var/simplesamlphp/www
37+
```
38+
39+
Add extra line to [docroot]/sites/default/settings.php
40+
41+
```
42+
$settings['simplesamlphp_dir'] = '/var/simplesamlphp';
43+
```

0 commit comments

Comments
 (0)