Jump to content

Can i piggy back on the unraid webserver?


Recommended Posts

Posted

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?

Posted

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

Posted

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.

 

Posted

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

Posted

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)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...