RTL960x icon indicating copy to clipboard operation
RTL960x copied to clipboard

Custom WEB UI - boa configuration change needed?

Open stich86 opened this issue 2 years ago • 12 comments

Hi @Anime4000,

i'm open this issue to tracking a problem that i'm currently have on swap the WEB UI of V2801F with yours. Do you have added this line to /home/httpd/boa.conf file?

AddType text/css css

Thx in advance

stich86 avatar Apr 13 '22 13:04 stich86

yes, I do edit boa.conf for file type

AddType application/json map
AddType text/css css
AddType text/javascript js

this stop browser screaming text/plain on css and js

no need map, this use for troubleshoot


and you need edit index.html at line 22

change TWCGPON657 back to V2801F or anything you like

Anime4000 avatar Apr 13 '22 14:04 Anime4000

yes, I do edit boa.conf for file type

AddType application/json map
AddType text/css css
AddType text/javascript js

this stop browser screaming text/plain on css and js

no need map, this use for troubleshoot

and you need edit index.html at line 22

change TWCGPON657 back to V2801F or anything you like

thx, i'll try it tonight :) i think it will be useful to add this changes on the Web MD :)

stich86 avatar Apr 13 '22 14:04 stich86

thx, i'll try it tonight :) i think it will be useful to add this changes on the Web MD :)

yea, I forgot to tell~ updating now

Anime4000 avatar Apr 13 '22 14:04 Anime4000

@stich86 when you done, I want to know your feedback 😄

Anime4000 avatar Apr 13 '22 14:04 Anime4000

@stich86 when you done, I want to know your feedback 😄

positive feedback mate! Now the UI is working perfect :)

stich86 avatar Apr 13 '22 17:04 stich86

@stich86 when you done, I want to know your feedback 😄

positive feedback mate! Now the UI is working perfect :)

That's good to hear that 😊

Anime4000 avatar Apr 13 '22 21:04 Anime4000

@Anime4000 did you deleted the line AddType application/javascript js?

EnfermeraSexy avatar Apr 14 '22 09:04 EnfermeraSexy

@EnfermeraSexy no, it seem original code don't have it.

Firefox cannot execute when wrong Mime Type

Chrome can execute even wrong Mime Type

this is reason original WebGUI look horrible in Firefox browser

Anime4000 avatar Apr 14 '22 12:04 Anime4000

@EnfermeraSexy no, it seem original code don't have it.

Firefox cannot execute when wrong Mime Type

Chrome can execute even wrong Mime Type

this is reason original WebGUI look horrible in Firefox browser

You mean that is not used or that it wasn't writed in the file? Because i found the line in the original code

EnfermeraSexy avatar Apr 14 '22 13:04 EnfermeraSexy

Yes, they do have, I just arrange neatly

Anime4000 avatar Apr 14 '22 22:04 Anime4000

yes, I do edit boa.conf for file type

AddType application/json map
AddType text/css css
AddType text/javascript js

this stop browser screaming text/plain on css and js

no need map, this use for troubleshoot

and you need edit index.html at line 22

change TWCGPON657 back to V2801F or anything you like

@Anime4000 currently, where I could find the files (index.html, .asp...) for Modern WebUI on ODI DFP-34X-2C2?

On https://github.com/Anime4000/RTL960x/tree/main/WebGui only appears pngs, psd, ai files, but here there aren't the files for that modern WebUI. On https://github.com/Anime4000/RTL960x/tree/main/Firmware_Mod there is screenshots where the users can see examples of WebUI for ODI DFP-34X-2C2 but where there are the files for that?

Or perhaps that Embedded WebUI now is installed by other way? For other hand, in https://github.com/Anime4000/RTL960x/blob/main/README.md the feature of Modern WebGUI appears as exclusive of V2801F...

libr3 avatar Jan 25 '24 04:01 libr3

the WebGUI is not complete yet, since we can't reverse engineer the binary to show Link Speed, etc like OpenWRT, I planing to approach differently at CPU efficient

still, for modern ODI WebGUI is based off V2801F with correct ASP code, if you have time to improve, can start off your own version based on V2801F, or I can upload incomplete and let anyone improve

Anime4000 avatar Jan 25 '24 14:01 Anime4000