librenmsv2 icon indicating copy to clipboard operation
librenmsv2 copied to clipboard

Base URL?

Open pyrodex opened this issue 7 years ago • 3 comments

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?

pyrodex avatar Jul 24 '17 13:07 pyrodex

I have never tried it in a subdirectory.

murrant avatar Jul 24 '17 14:07 murrant

I think it should be ok in a sub dir.

laf avatar Jul 25 '17 19:07 laf

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

Aguay-val avatar Nov 07 '17 17:11 Aguay-val