librenms / librenmsv2

LibreNMS WebUI Rewrite
GNU General Public License v3.0
26 stars 15 forks source link

Base URL? #204

Open pyrodex opened 7 years ago

pyrodex commented 7 years ago

Please note

LibreNMS v2 is in early stages of development, please keep that in mind. Things may not work correctly but could be actively being worked on.

If you have simple questions it's probably easier to jump on our IRC channgel on Freenode: ##librenms

Before submitting an issue

It's worth ensuring that you are up-to-date:

su - librenms
git pull
composer update --no-scripts
composer update

Does v2 have the need for base_url configuration options like the current webUI has?

murrant commented 7 years ago

I have never tried it in a subdirectory.

laf commented 7 years ago

I think it should be ok in a sub dir.

Aguay-val commented 7 years ago

It work!

You should adjust the htaccess into your html directory :

### Content of .htaccess#

...
RewriteBase /mysubdirectory
...

and set $config['base_url']` = `"/mysubdirectory";

into the config.php of your librenms install directory :)

Of course you have to adapt on your own configuration. :)

EDIT : Nevermind. I just realized that issue is old and not actually an issue :p