If I try to this customization, I get
Permissions of the files are 644 with owner root. Path is exactly like in the docs.
When I open the index.html direct from my hdd the page works.
What did I miss?
If I try to this customization, I get
Permissions of the files are 644 with owner root. Path is exactly like in the docs.
When I open the index.html direct from my hdd the page works.
What did I miss?
Itβs hard to have an idea what was wrong.
Can you paste relevant log?
Maybe @andre8244 can help here
Hi flatspin,
can you please paste the output of the following commands too?
config show httpd
ll /usr/share/httpd/noindex/
tree /usr/share/httpd/noindex/
Hi Andrea, thanks for helping.
Here it is:
httpd=service
HomePage=startpage
SSLCipherSuite=HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA
TCPPorts=80,443
access=green
status=enabled
ll /usr/share/httpd/noindex/
total 8
drwxr-xr-x. 3 root root 96 Oct 18 10:46 css
drwxr-xr-x. 2 root root 48 Oct 18 10:46 images
-rw-r--r-- 1 root root 4897 Oct 16 2014 index.html
drwxr-xr-x 3 root root 35 Oct 24 16:31 nethserver
drwxr-xr-x 3 root root 34 Oct 24 16:18 startpage
tree /usr/share/httpd/noindex/
/usr/share/httpd/noindex/
βββ css
β βββ bootstrap.min.css
β βββ bootstrap-theme.min.css
β βββ fonts
β β βββ Bold
β β β βββ OpenSans-Bold.eot
β β β βββ OpenSans-Bold.svg
β β β βββ OpenSans-Bold.ttf
β β β βββ OpenSans-Bold.woff
β β βββ BoldItalic
β β β βββ OpenSans-BoldItalic.eot
β β β βββ OpenSans-BoldItalic.svg
β β β βββ OpenSans-BoldItalic.ttf
β β β βββ OpenSans-BoldItalic.woff
β β βββ ExtraBold
β β β βββ OpenSans-ExtraBold.eot
β β β βββ OpenSans-ExtraBold.svg
β β β βββ OpenSans-ExtraBold.ttf
β β β βββ OpenSans-ExtraBold.woff
β β βββ ExtraBoldItalic
β β β βββ OpenSans-ExtraBoldItalic.eot
β β β βββ OpenSans-ExtraBoldItalic.svg
β β β βββ OpenSans-ExtraBoldItalic.ttf
β β β βββ OpenSans-ExtraBoldItalic.woff
β β βββ Italic
β β β βββ OpenSans-Italic.eot
β β β βββ OpenSans-Italic.svg
β β β βββ OpenSans-Italic.ttf
β β β βββ OpenSans-Italic.woff
β β βββ Light
β β β βββ OpenSans-Light.eot
β β β βββ OpenSans-Light.svg
β β β βββ OpenSans-Light.ttf
β β β βββ OpenSans-Light.woff
β β βββ LightItalic
β β β βββ OpenSans-LightItalic.eot
β β β βββ OpenSans-LightItalic.svg
β β β βββ OpenSans-LightItalic.ttf
β β β βββ OpenSans-LightItalic.woff
β β βββ Regular
β β β βββ OpenSans-Regular.eot
β β β βββ OpenSans-Regular.svg
β β β βββ OpenSans-Regular.ttf
β β β βββ OpenSans-Regular.woff
β β βββ Semibold
β β β βββ OpenSans-Semibold.eot
β β β βββ OpenSans-Semibold.svg
β β β βββ OpenSans-Semibold.ttf
β β β βββ OpenSans-Semibold.woff
β β βββ SemiboldItalic
β β βββ OpenSans-SemiboldItalic.eot
β β βββ OpenSans-SemiboldItalic.svg
β β βββ OpenSans-SemiboldItalic.ttf
β β βββ OpenSans-SemiboldItalic.woff
β βββ open-sans.css
βββ images
β βββ apache_pb.gif
β βββ poweredby.png
βββ index.html
βββ nethserver
β βββ index.html
β βββ res
β βββ favicon.ico
β βββ jquery.min.js
β βββ nethserver.png
β βββ server-manager.png
β βββ system_apps.php
βββ startpage
βββ index.htm
βββ res
βββ 0.gif
βββ 3@2x.jpg
βββ 3.jpg
βββ 4@2x.png
βββ 4.png
βββ ani.css
βββ custom_styles.css
βββ favicon.ico
βββ jquery.min.js
βββ png.js
βββ roe.js
βββ system_apps.php
βββ xr_files.txt
βββ xr_fonts.css
βββ xr_fontsie.css
βββ xr_main.css
βββ xr_text.css
17 directories, 70 files
Console say βfavicon.icoβ not found.
Iβve to say, that Iβm not very failiar with html and css and that stuff. I just followed the docs and tried it out of couriosity if it works. Iβm using a simple html generator/editor (Xara) for my own needs.
On the other hand, the docs should provide information so even guys like me can do it.
BR Ralf
That βindex.htmβ file extension could be the cause of the issue.
Please try to rename it to βindex.htmlβ and let me know if anything changes
Really? That is the solution?
Is it possible to make this not (or less) dependent on an extention? (Like it does not matter if htm, html or whatever html correct extention is used)
What I could find [a-z]html + htm as extensions should all be viable options. Debatable: php based extensions.
Many web servers were sensitive to this tiny difference.
Itβs not uncommon.
htm came from PC as it used to not be able to handle larger than 3 letter extensions.
I understand that, but that does not mean we should settle with such a restriction?
@dev_team what do you think?
Youβ ve got it! It doesnβt show the page as expected, but thatβs a matter of html and me.
Thanks a lot for helping.
This is about httpd configuration, it has nothing to do with Nethserver.
Httpd documentation provides information about supported index pages, this should be a good starting point: https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex
IMO the docs should be updated with that info. That should be enough.
I think itβs not an as common thing, that it would justify a great effort to change it.
@andre8244 So if it is the way we implement httpd configuration it has everything to do with NethServer.
I would suggest to implement a broader directoryindex or at least a more flexible directory index. Maybe even an option to choose what index page should be used when multiple options are detected.
With a custom launcher page, will Cockpit still be able to βsendβ shortcuts to it?
If yes, what restrictions do we have in creating the actual page? How will Cockpit know at which part of the page it can add shortcuts?
How easily can I edit the shortcuts themselves? (i.e. change size or add more not restricted by Cockpit option βadd to home pageβ)
I want to make a portal with additional unrelated to NS links.
βYesβ.
I think there are no restrictions.
Itβs not cockpit who adds the shortcuts, the webpage reads/gets (json) data from cockpit. Once it gets the data you can put it anywhere on the page. It requires some web development skills (sorry, I donβt know all the ins and outs). For me itβs not easy enough but you can make some progress copying the actual launcher and modifying it.
Change size easily with html/css.
Add more shortcuts unrelated to NS, manually but should be easy enough (maybe not as easy as with something like heimdall launcher)
Thanks. I reached the same conclusion.
BTW Heimdall is a LOVELY launcher.
Trying to play with it, I can see this documentation in devel
https://docs.nethserver.org/projects/nethserver-devel/en/latest/nethserver-httpd.html#welcome-page
but also this one
https://nethserver.docs.nethesis.it/en/v7/launcher.html
I cannot find launcher_data.ini
cc @andre8244
Hi Steph,
are you on a NethServer Enterprise machine?
Whatβs the content of /usr/share/httpd/noindex/
?
This doc https://nethserver.docs.nethesis.it/en/v7/launcher.html is specifically about Nethesis Launcher and brand customization
no of course
folowing the documentation ok, but the pinned application are not done inside the custom welcome page