Apache configuration ==================== .. tip:: Debian and RPM packages already include Apache configuration Here is an example of Apache configuration using a virtual host: .. code:: apache ServerName ssp.example.com DocumentRoot /usr/local/self-service-password/htdocs DirectoryIndex index.php AddDefaultCharset UTF-8 AllowOverride None = 2.3> Require all granted Order Deny,Allow Allow from all Alias /rest /usr/local/self-service-password/rest AllowOverride None = 2.3> Require all denied Order Deny,Allow Deny from all LogLevel warn ErrorLog /var/log/apache2/ssp_error.log CustomLog /var/log/apache2/ssp_access.log combined You have to change the server name to fit your own domain configuration. This file should then be included in Apache configuration. With Debian package, just enable the site like this: .. prompt:: bash # a2ensite self-service-password You can also configure Self Service Password in the default virtual host: .. code:: apache Alias /ssp /usr/local/self-service-password/htdocs AllowOverride None = 2.3> Require all granted Order Deny,Allow Allow from all DirectoryIndex index.php AddDefaultCharset UTF-8 Alias /ssp/rest /usr/local/self-service-password/rest AllowOverride None = 2.3> Require all denied Order Deny,Allow Deny from all DirectoryIndex index.php AddDefaultCharset UTF-8 Check you configuration and reload Apache: .. prompt:: bash # apachectl configtest apachectl reload