Serving librenms via apache2 from www.domain.com/librenms

Hello, i want to install librenms on apache2 server. my librenms.conf looks like this

<VirtualHost *:443>
  DocumentRoot /opt/librenms/html/
  ServerName testserver.mydomain.com 
  SSLEngine on
  SSLCertificateFile	/etc/ssl/certs/apache-selfsigned.crt
  SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key  


  Alias /librenms /opt/librenms/html

  AllowEncodedSlashes NoDecode

  <Directory "/opt/librenms/html/">
    Require all granted
    AllowOverride All
    Options FollowSymLinks MultiViews
  </Directory>

  # Enable http authorization headers
  <IfModule setenvif_module>
    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
  </IfModule>

  <Proxy "fcgi://localhost/" enablereuse=on max=10>
  </Proxy>

  <FilesMatch ".+\.php$">
    SetHandler "proxy:fcgi://localhost:9002"
  </FilesMatch>

</VirtualHost>

But libenms is still served from www.mydomain.com

Do I need to set a base url somewhere? How can I make librenms being served from www.mydomain.com/librens?

Reason: There a already services installed, but they are in /var/www/html in folders.

Librenms is not working great under a folder as far as I know (patches welcome)
I suggest you use a subdomain instead, librenms.mydomain.com

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.