Learn about Centmin Mod LEMP Stack today
Become a Member

Forum in folder issue

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,086
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    7:12 AM
    Nginx-1.25.x
    MariaDB 10.3.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

    54,857
    12,238
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,809
    Local Time:
    3:12 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 /.