Welcome to Centmin Mod Community
Become a Member

Forum in folder issue

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Sep 27, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    3:57 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I have a forum located at /home/nginx/domains/domain.com/public/forums/ folder and i have this config option:

    Code:
    $INFO['board_url']            =    'http://www.domain.com/forums';
    How can i do that to have on the browser link only the:

    Code:
    http://www.domain.com
    without the folder forums on the link?

    I was thinking to change on vhost the root path to /forums folder but don't know if that is the proper way to do it...and if it works...

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    10:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    You'd need to ask forum developers as it's not that simple for most forum software to do it just at web server level. Or just physically move forums from /forums to /.