Apache Configuration - Toakan/phpbb-saml2 GitHub Wiki
For setting up a Subdomain:
<VirtualHost *:80>
ServerName phpbb3.localhost
DocumentRoot /var/www/phpbb3
Options Indexes FollowSymLinks
SetEnv SIMPLESAMLPHP_CONFIG_DIR /var/www/phpbb3/simplesaml/config
Alias /simplesaml /var/www/phpbb3/simplesaml/www
<Directory "/var/www/phpbb3/">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
For setting up a redirected subdirectory:
Alias /simplesaml "C:/inetpub/wwwroot/phpbb/simplesaml/www"
<Directory "C:\inetpub\wwwroot\phpbb\simplesaml">
AllowOverride All
Options all
Require all granted
</Directory>