Skip to content
This repository has been archived by the owner on Mar 14, 2018. It is now read-only.

Base URL? #204

Open
pyrodex opened this issue Jul 24, 2017 · 3 comments
Open

Base URL? #204

pyrodex opened this issue Jul 24, 2017 · 3 comments

Comments

@pyrodex
Copy link

pyrodex commented Jul 24, 2017

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
Copy link
Member

murrant commented Jul 24, 2017

I have never tried it in a subdirectory.

@laf
Copy link
Member

laf commented Jul 25, 2017

I think it should be ok in a sub dir.

@Aguay-val
Copy link

Aguay-val commented Nov 7, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants