Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun May 11, 2014 4:20 pm 
Offline

Joined: Sat May 10, 2014 4:14 pm
Posts: 1
I have a LAMP installed and I followed the phpbb3 guide here

https://library.linode.com/web-applications/bulletin-boards/phpbb/ubuntu-12.04-precise-pangolin

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 <virtualhost> in the apache2.conf file. Any help or criticism will be appreciated.

Thanks


Top
   
PostPosted: Sun May 11, 2014 7:48 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
I can't access your domain (it never responds), so you'll probably want to fix that first ;-)

This should help you with running your phpbb forum from your website's root directory:
https://www.phpbb.com/community/viewtop ... &t=2208966


Top
   
PostPosted: Sun May 11, 2014 9:21 pm 
Offline

Joined: Sun May 11, 2014 9:09 pm
Posts: 1
Good afternoon,
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group