cobolstinks Posted December 4, 2011 Posted December 4, 2011 I have unraid 4.5.3 running, and want to have it serve a few simple pages (mostly just .html files) can i use the built in webserver and drop my html files in the web root? If so where is the web root?
WeeboTech Posted December 4, 2011 Posted December 4, 2011 It's feasible. The information is in the Wiki http://lime-technology.com/wiki/index.php?title=Release_Notes#Changes_from_4.4.2_to_4.5-beta2 and here http://lime-technology.com/forum/index.php?topic=3430.msg29559#msg29559
cobolstinks Posted December 4, 2011 Author Posted December 4, 2011 nm i guess im running 4.6. I tried dropping a hw.hmtl file in /var/logs/web/ after chmod 777 /var/logs/web and the page doesn't render by browsing to tower/web/hw.html. any ideas? Thanks
cobolstinks Posted December 4, 2011 Author Posted December 4, 2011 Nm should have read the second link. this worked: http://tower/share/disk1/hw.html any major limitations to this? Can i use js and css on these pages and they act like a 'normal' web server is serving it?
WeeboTech Posted December 5, 2011 Posted December 5, 2011 Nm should have read the second link. this worked: http://tower/share/disk1/hw.html any major limitations to this? Can i use js and css on these pages and they act like a 'normal' web server is serving it? js and css are handled by the browser, so it should work. There is no server based active pages. I.E. CGI/SSI or anything like that on the 4.x series. Just static html and whatever that payload carries.
cobolstinks Posted December 5, 2011 Author Posted December 5, 2011 ok fair enough. All i am looking at doing is using it to render some flot charts. I'd be making ajax requests to get json and render the data on the flot charts. I'm a-ways off in my project from building the pages just wondering if its possible. Thanks I think I should be good. Chris
cobolstinks Posted December 5, 2011 Author Posted December 5, 2011 sweet just did a quick check and I'm good to go. Copied all the necessary files from this example:http://people.iola.dk/olau/flot/examples/ajax.html to unraid and it works perfect. Thanks! Unraid is the SHIZZZNIT (unlike cobol)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.