File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# SimplesamlPHP configuration
22
3+ ## Using Simplesamlphp from /vendor directory (Recommended)
4+
35Purpose of this directory to store SimplesamlPHP configuration.
46
57SimplesamlPHP library code manages via composer and stored in ` vendor/simplesamlphp `
1416
1517In example above is assumes that your project installed in ` /var/www ` directory.
1618
17- ## Recommended
19+ ### Recommended
1820
1921Recommended 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+ ```
You can’t perform that action at this time.
0 commit comments