https://mydomain.com:447/forum
PhpBB3 is a php based forum software that runs on Apache Web Server.
sudo apt-get install phpbb3
By default, an apache phpbb3.conf file is placed in /etc/apache2/conf.d/phpbb3.conf which links a conf file in the phpbb3 installation. Its is better to manage the various websites via ssl encrypted virtual hosts.
sudo mv /etc/apache2/conf.d/phpbb3.conf /etc/apache2/sites-available/phpbb3
sudo nano /etc/apache2/sites-available/phpbb3
Enter the following:
<VirtualHost *:447>
Alias /phpbb/images /var/lib/phpbb3/images
Alias /phpbb /usr/share/phpbb3/www
DocumentRoot /usr/share/phpbb3/www
<Directory /usr/share/phpbb3/www/>
<IfModule mod_php5.c>
php_flag register_globals off
</IfModule>
Options -Indexes +FollowSymlinks
DirectoryIndex index.php
AllowOverride None
order allow,deny
allow from all
</Directory>
SSLEngine on
SSLCACertificateFile /etc/ssl/custom/certs/official-www-mydomain-com-ad-inter.crt
SSLCertificateFile /etc/ssl/custom/certs/official-www-mydomain-com.crt
SSLCertificateKeyFile /etc/ssl/custom/keys/official-www-mydomain-com.key
</VirtualHost>
Go to the ACP in PhpBB3 and select the Authentication page. Enter the following:
LDAP server name: n1.mydomain.com
LDAP port: 389
LDAP base dn: ou##users,dc##mydomain,dc##com
LDAP uid: uid
LDAP user dn: uid##phpbb3_admin,ou##users,dc##mydomain,dc##com
LDAP password: ****
The user phpbb3_admin must be present in both LDAP and phpbb.
Port 80 is the default port for unencrypted results.
These ports should be opened on your firewall for remote access.
NameVirtualHost *:80
Listen 80
<IfModule mod_ssl.c>
Listen 443
Listen 444
Listen 445
Listen 446
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
Listen 444
Listen 445
Listen 446
</IfModule>