PhpBB question

Discussion in 'PHP' started by Anna M, Feb 1, 2008.

  1. #1
    I am sure there's a very simple answer to this, but I'm really lost, so any help would be appreciated!

    I have just installed phpBB on my site. I can view it just fine when I access "mysite.com/forum/phpBB3/index.php".

    What I want is to be able to see the forum when I type "mysite.com/forum" Right now, when I type that address, I see "Index of /forum" that shows "phpBB3/" as a folder.

    I know it has to do with redirecting, but I'm not sure what/where to write so that anytime someone types "mysite.com/forum" they get sent to "mysite.com/forum/phpBB3/index.php" instead.

    Please help!
     
    Anna M, Feb 1, 2008 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    If your forum is new, you should reupload it correctly instead of setting up redirects. Is it new?
     
    nico_swd, Feb 1, 2008 IP
  3. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #3
    You can easily edit it in the admin section once you move it
     
    Professional Dude, Feb 1, 2008 IP
  4. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #4
    Just edit your vhost and create something like forums.mysite.com and point it to mysite.com/forum/phpBB3/index.php

    make sure you make the appropriate DNS entry A record as well..
     
    Mia, Feb 1, 2008 IP
  5. Lukaslo

    Lukaslo Peon

    Messages:
    751
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Download all phpBB3 files, upload them to forum directory
    then
    Go to mysql database, find phpBB3 base than look for table probably phpbb_config If I remember correctly. If you are using phpMyadmin click Browse.
    Than update
    server_name to mysite.com
    script_path to /forum
     
    Lukaslo, Feb 1, 2008 IP
  6. Anna M

    Anna M Active Member

    Messages:
    426
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    78
    #6
    Will moving the contents of the "phpBB3" folder to the "forum" folder work?

    Edit: I just did that, and changed the script path to "/forum" and now it works.

    Thanks a lot to everyone who replied! :)
     
    Anna M, Feb 1, 2008 IP
  7. mondala

    mondala Active Member

    Messages:
    144
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    #7
    With phpbb3 you should be able to just rename the directory then update your script path. phpbb3 ACP >server settings.

    For your case though, I would just download all files inside "mysite.com/forum/phpBB3/"
    then reupload them to "mysite.com/forum/"

    When done; "mysite.com/forum/phpBB3/" should be empty and you can delete that directory.
     
    mondala, Feb 1, 2008 IP
  8. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #8
    Yes, but as people stated above, you will have to update the path in the admin panel.
     
    nico_swd, Feb 1, 2008 IP
  9. Anna M

    Anna M Active Member

    Messages:
    426
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    78
    #9
    I've updated the path, now it points to "/forum" instead of "/forum/phpBB3".

    Thanks again everyone!
     
    Anna M, Feb 1, 2008 IP