Xibo 1.8.12 on a Synology DS213j install as CMS


#1

Hello everybody,

I loaded xibo (DigitalSignage) and moved the unzipped folder on my DS213j to the folder / web / xibo.

Now xibo writes that you should show documentRootauf / path / to / xibo-folder / web and there I have my difficulties. I do not know exactly how the .htacess must look. Here is the content of the file:
RewriteEngine On

#RewriteBase /xibo

fix authorization header

RewriteCond %{HTTP:Authorization} .+
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

requests for api authorize

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^./authorize/.$
RewriteRule ^ api/authorize/index.php [QSA,L]

requests that start with api go down to api/index.php

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^./api/.$
RewriteRule ^ api/index.php [QSA,L]

install

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^./install/.$
RewriteRule ^ install/index.php [QSA,L]

maintenance

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^./maint/.$
RewriteRule ^ maint/index.php [QSA,L]

all others - i.e. web

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

can someone tell me here what I have to adjust in the. htaccess file?

then I would have to enter. xibo only in the browser http: // localhost then the installation routine would start …

Thank you very much for an info.


#2

You don’t need to adjust anything in the .htaccess file.

You need to correctly configure the webserver so that only the web folder is served when you access the webserver. The files and folders above that must remain there, but shouldn’t be accessible from the internet.

If you want support, then you would be better following our recommended installation method rather than trying to do a custom install on a platform we don’t have access to. It is of course completely up to you though.


#3

Sorry, I do not understand Alex.

When i make the steps from you said me then only ou in the browser http.//localhost/ ??

And a docker installation which does not work on my Synology DS213j is even more difficult.
It used to be easier with version 1.7.5, you just have to type in the browser: lochalhost / xibo / install.php and that’s it.

Now I do not understand the whole thing

Greeting


#4

You can’t do an install like that anymore.

We explained why in the article here:

If you can’t run with Docker, then you need to set your webserver up in the way Xibo needs to work. That’s covered in the docs here:
https://xibo.org.uk/docs/setup/xibo-on-a-web-server
https://xibo.org.uk/docs/setup/prepare-your-environment

It may not be possible to do some of those things on a NAS.

The install won’t be at http://localhost because you’re presumably not running your web browser on the NAS itself. It’ll be at the IP address of your NAS on whatever port your NAS runs its webserver.


#5

Hello, it’s really easy!
you just have to enter localhost / xibo / web / in the browser and you’re on the installation route.


#6

That won’t work. You’ll get errors from the CMS as you use it. You also then expose all the files we specifically say must not be exposed via the webserver so there’s a much greater chance of someone hacking your server.

You must follow the notes to correctly setup your webserver. Do not use it in the way you describe. It’s not correct and it’s not secure.