Want to subscribe to topics you're interested in?
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

    3,239
    305
    83
    May 31, 2014
    Ratings:
    +558
    Local Time:
    7:58 PM
    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

    39,199
    8,654
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,307
    Local Time:
    2:58 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 /.
     
..