/usr/share/simpleid/www/config.inc.dist is in simpleid 0.8.1-15.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | <?php
/**
* SimpleID configuration file.
*
* @package simpleid
*
*/
/*
* $Id: config.inc.dist 332 2010-10-31 02:58:39Z kmo $
*
*/
/**
* Base URL.
*
* This is the URL of the location you want to place your SimpleID
* distribution. It becomes the URL of the SimpleID server.
*
* It is not allowed to have a trailing slash; SimpleID will add it
* for you.
*
* Examples:
* <code>
* define('SIMPLEID_BASE_URL', 'http://www.example.com');
* define('SIMPLEID_BASE_URL', 'http://www.example.com:8888');
* define('SIMPLEID_BASE_URL', 'http://www.example.com/simpleid');
* define('SIMPLEID_BASE_URL', 'https://www.example.com:8888/simpleid');
* </code>
*
*/
define('SIMPLEID_BASE_URL', 'http://www.example.com');
/**
* Allow clean URLs.
*
* URLs used in SimpleID are normally in the form
* http://www.example.com/index.php?q=foo. Enabling clean URLs will allow for
* SimpleID URLs to be in the form http://www.example.com/foo
*
* In order to support clean URLs, you must be using Apache with mod_rewrite
* enabled. You will need to rename .htaccess.dist in the SimpleID web directory
* to .htaccess
*
* @since 0.8
*
*/
define('SIMPLEID_CLEAN_URL', false);
/**
* Directory to store identity information.
*
* This directory must exist and be readable by the web server.
*
* For maximum security, it is highly recommended to place this
* directory outside your web browser's document root directory, so
* that it is not visible to user agents.
*
*/
define('SIMPLEID_IDENTITIES_DIR', '../identities');
/**
* Directory to store cache data.
*
* This directory must exist and be readable and writable by the
* web server.
*
* For maximum security, it is highly recommended to place this
* directory outside your web browser's document root directory, so
* that it is not visible to user agents.
*
*/
define('SIMPLEID_CACHE_DIR', '../cache');
/**
* Persistent data storage mechanism.
*
* SimpleID provides flexible methods to store and retrieve persistent data.
* By default, SimpleID uses the file system to store this data, implemented
* in filesystem.store.inc. Users can implement other methods by creating
* a file with extension .store.inc and specifying the file through this
* setting.
*
* Generally you do not need to change this setting.
*
*/
define('SIMPLEID_STORE', 'filesystem');
/**
* Directory to store persistent data.
*
* This directory must exist and be readable and writable by the
* web server.
*
* For maximum security, it is highly recommended to place this
* directory outside your web browser's document root directory, so
* that it is not visible to user agents.
*
*/
define('SIMPLEID_STORE_DIR', '../store');
/**
* Allows legacy log-in system.
*
* Prior to SimpleID 0.6, the login system utilised by SimpleID requires users'
* passwords to be sent in plaintext to the web server for verification. This is
* an inherent security risk.
*
* From version 0.6, SimpleID implemented a form of digest authentication, which
* means that passwords are not sent in plaintext. For backwards compatibility,
* and to support browsers that do not have JavaScript installed, the legacy
* method is still supported if the following configuration parameter is set
* to true. Otherwise, users must use a browser which supports JavaScript to
* log into SimpleID.
*
* The default is set to false for security reasons. You should not change
* this value unless it is absolutely necessary.
*
* @since 0.6
*/
define('SIMPLEID_ALLOW_LEGACY_LOGIN', false);
/**
* Allows web browsers to save passwords.
*
* SimpleID prevents web browsers from saving user passwords entered in a user
* logs into SimpleID. Setting this value to true will allow browsers to
* ask the user whether the password should be saved in the browser's password
* store.
*
* The default is set to false for security reasons. You should not change
* this value unless you are certain regarding the security of your browser's
* password store.
*
* @since 0.8
*/
define('SIMPLEID_ALLOW_AUTOCOMPLETE', false);
/**
* Performs additional verification of relying party return URLs.
*
* When authenticating using OpenID version 2, SimpleID version 0.7 or later
* can perform additional verification of the relying party's return URLs under
* section 9.2.1 of the OpenID specification.
*
* The default is set to true for security reasons. However, if your web server
* is blocked by your web hosting provider's firewall from accessing outside
* servers, then set this to false.
*
* @since 0.7
*
*/
define('SIMPLEID_VERIFY_RETURN_URL_USING_REALM', true);
/**
* Date and time format.
*
* The date and time format specified using the strftime() syntax.
*
* See http://www.php.net/strftime for details.
*
*/
define('SIMPLEID_DATE_TIME_FORMAT', '%Y-%m-%d %H:%M:%S %Z');
/**
* The number of seconds before associations expire. This is an advanced
* option, for which the default setting should work fine.
*
* Note that for ICAM compliance, this number must be less than 86400.
*/
define('SIMPLEID_ASSOC_EXPIRES_IN', 3600);
/**
* SimpleID extensions.
*
* The SimpleID extensions you wish to load. You should separate the
* extensions you wish to load with a comma.
*
*/
define('SIMPLEID_EXTENSIONS', 'sreg,ui');
/**
* Log file.
*
* You can specify a file into which SimpleID will log various diagnostic
* messages.
*
* The log file's directory must exist and must be writable by the web server.
*
* To disable logging, set this as an empty string.
*
* @since 0.7
*
*/
define('SIMPLEID_LOGFILE', '');
/**
* The level of detail for log messages.
*
* You can determine which messages are captured in the log file by specifying
* a number between 0 and 5. The higher the number, the more messages are
* logged.
*
* WARNING: Setting the log level to 5 will result in security sensitive
* information also being logged.
*
* This has effect only if logging is enabled.
*
* @since 0.7
*
*/
define('SIMPLEID_LOGLEVEL', 4);
?>
|