srvduplex wrote:
>
> I placed my slimserver behind a reverse proxy, and I would like to
> change the webroot, I think I found the right document to modify in
> Slim/Web/HTML.pm
> so my interest is to access to the server typing
> www.myadress.com/slimserver instead of www.myadress.com:9000
>
> I tried $params->{'webroot'} = '/'; changed in $params->{'webroot'}
> = '/slimserver/'; but as said in the wiki it is the "wrong way to do
> it" and it won't work
>
> Any help to understand where to implement /slimserver/ as webroot will
> be much granted :-)
>
There is no need to change the code, you should configure your proxy to
do the mapping.
That being said, you should read 'this thread'
(http://forums.slimdevices.com/showthread.php?107165-IMPORTANT-Stop-forwarding-your-LMS-ports-to-the-internet!)
and re-evaluate if this is a good idea in the first place.
[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'music
visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite ] [ 'Howto'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS):
build a self-contained LMS | 'Howto'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files):
play Ogg Opus files ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=107421
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy