Changes between Version 2 and Version 3 of campuswifiandeduroam2023Agenda/pwdc


Ignore:
Timestamp:
Jul 22, 2024, 6:04:50 AM (4 months ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • campuswifiandeduroam2023Agenda/pwdc

    v2 v3  
    11=== Self Password Change ===
     2
     3LDAP Self Service Password is a web application for end users. It allows them to change or reset their password if they lost it.
    24
    35You need to install these prerequisites:
     
    5557{{{apt install self-service-password}}}
    5658
     59''' Apache configuration'''
     60
     61{{{
     62<VirtualHost *:80>
     63    ServerName ssp.example.com
     64
     65    DocumentRoot /usr/share/self-service-password/htdocs
     66    DirectoryIndex index.php
     67
     68    AddDefaultCharset UTF-8
     69
     70    <Directory /usr/share/self-service-password/htdocs>
     71        AllowOverride None
     72        <IfVersion >= 2.3>
     73            Require all granted
     74        </IfVersion>
     75        <IfVersion < 2.3>
     76            Order Deny,Allow
     77            Allow from all
     78        </IfVersion>
     79    </Directory>
     80
     81    Alias /rest /usr/share/self-service-password/rest
     82
     83    <Directory /usr/share/self-service-password/rest>
     84        AllowOverride None
     85        <IfVersion >= 2.3>
     86            Require all denied
     87        </IfVersion>
     88        <IfVersion < 2.3>
     89            Order Deny,Allow
     90            Deny from all
     91        </IfVersion>
     92    </Directory>
     93
     94    LogLevel warn
     95    ErrorLog /var/log/apache2/ssp_error.log
     96    CustomLog /var/log/apache2/ssp_access.log combined
     97</VirtualHost>
     98}}}
     99
     100{{{a2ensite self-service-password}}}
     101
     102Check you configuration and reload Apache:
     103{{{
     104# apachectl configtest
     105# apachectl reload
     106}}}
     107
     108