PHPBB3 not working correctly
I can access the forum from http://www.thoughtandreason.com/phpbb
I am curious what I need to do to drop the /phpbb/ and have the forum show up with just entering thoughtandreason.com?
Do I need to move the file into my /home/xxxx/xxx file, its currently in /etc/
or do I need to edit the
Thanks
2 Replies
This should help you with running your phpbb forum from your website's root directory:
I was able to remedy the solution shortly after your departure from the irc; The problem is that apache is serving from /var/www and apt installs the files into /usr/share (for obvious reasons). The guide that you mentioned has you create a symlink against the /usr/share/phpbb3/www to /var/www/phpbb. The steps that i took to produce the desired environment are as follows, Note this is not recommended if you host other content from within /var/www and are solely using the machine as a turnkey phpbb solution. .
First we unlink the symlink created in the tutorial:
$> unlink /var/www/phpbb
Next we verify that we aren't hosting anything else from that particular location
$> ls -lisa /var/www
This should return a single file named index.html, if it doesnt you'll want to stop here to avoid harming any other content hosted by the machine.
Now we will go ahead and remove the directory identified as the web root (/var/www);
$> rm -rf /var/www
After this we recreate the original symlink, only we give it the path /var/www
$> ln -s /usr/share/phpbb3/www /var/www
Once we are finished we restart apache and confirm that our changes have taken effect
$> service apache2 restart
If you run into any issues or you find that you are hosting content other than the phpbb forum you will either want to branch that content into a sub directory, or create a full vhost configuration for the phpbb directory