April 16, 201214 yr Author One idea for a plugin... Have a navbar for the various sites / apps hosted on unRAID. I used your web server plugin and mixed in some dynamic html to have a navigation bar across the bottom that autohides. In there I placed launcher images for each of the various sites hosted on the unRAID box. Makes quick work of jumping between them! Thanks! (screenshots attached) I like your idea. However, there would need to be a standard that each plugin developer follows. That might be the trickiest bit
April 17, 201214 yr Ooooh I've been looking for an easy way to run my own sites from here. This could be it One question though (and probably a very open one) is how secure is this if opened up to the internets via port forwarding? Is it wise, or should this be for internal use really?
April 18, 201214 yr Ooooh I've been looking for an easy way to run my own sites from here. This could be it One question though (and probably a very open one) is how secure is this if opened up to the internets via port forwarding? Is it wise, or should this be for internal use really? I was wondering the exact same thing... was planning on putting an htaccess/htpasswd file on it to discourage external users...
April 18, 201214 yr Author I'd say it'd be relatively safe for a home web server setup. Lighttpd is as secure as its setup. Disable any modules that you don't need, disable access to shell (that may have other implications however), and make sure you're only opening the webserver port. YouTube runs Lighttpd, however they'll have a much better setup that this plugin It's a risk opening anything up to the internet, it's up to you whether or not you think the risk is acceptable.
April 18, 201214 yr Speeding_ant thanks very much for this useful plugin. I was running a web server based on the older package of BubbaQ, yours has a newer (latest) version of lighttpd and good PHP version. I like the settings page, nicely fits in the SimpleFeatures theme and contains helpful information, though perhaps it should be a black & white globe to match the other icons. All is working flawlessy, including the stats pages. Any chance of adding a LOG purge button ?
April 19, 201214 yr It looks like this binds to the incorrect IP address when running Hamachi (VPN). Is there a way to set which interface to use?
April 19, 201214 yr Author You can add additional IP addresses to this file: /boot/config/plugins/sf_webserver/lighttpd/lighttpd_server.conf.include $SERVER["socket"] == "10.0.0.4:81" {} $SERVER["socket"] == "10.0.0.5:81" {} etc Hope that helps!
April 21, 201214 yr Author Changes: 1.0 - Updated PHP to 5.3.10. Fixed some bugs with configuration files. Added logging for PHP to prevent STDOUT issues. Changed to make sure timezone is added on start. Remove your /boot/extra/plugins/sf_webserver/php/php.ini file to take advantage of bug fixing. Re-download the PLG from link in the front page, follow install instructions. Cheers!
April 21, 201214 yr One thing to notice... The PHP error log is growing rapidly due to warnings coming from undefined items in "template.php". The stock PHP implementation is ignoring this, could the same be done here?
April 21, 201214 yr Author Was going to say (just looking at the same thing) - best thing for us would be to fix those warnings It seems to be slowing down the page draw anyway. I can quickly do that before posting the next SF update.
April 21, 201214 yr See my PM, indeed lets try to fix this together with the pending updates... Thanks.
April 21, 201214 yr Author Already on it Cheers for the continual effort and support put into SimpleFeatures.
April 21, 201214 yr Already on it Cheers for the continual effort and support put into SimpleFeatures. My pleasure, as they say "the knife cuts both ways" - it is also out of my own interest to make simpleFeatures the "best features"
April 21, 201214 yr I made the necessary corrections in the appropriate files, no more a warnings avalanche... See the PM and download the update package (again). Ps. PHP is also complaining about undefined variables "string" and "string2" in the webserver app. You may want to look into that. Ps2. Need to relook at "hardwareStats.php", it generates 'zillions' of warnings
April 21, 201214 yr Author I made the necessary corrections in the appropriate files, no more a warnings avalanche... See the PM and download the update package (again). Ps. PHP is also complaining about undefined variables "string" and "string2" in the webserver app. You may want to look into that. Ps2. Need to relook at "hardwareStats.php", it generates 'zillions' of warnings Haha, cheers Yes hardwareStats creates a warning for EACH data point. Yikes!
April 21, 201214 yr Your PHP version is less forgiving... I encountered a couple of other "warnings", no more lazy programming allowed Need to make some updates though! Okay, made the necessary modifs, including hardwareStats.php. See PM
April 27, 201214 yr :'( I got it working very nicely - until I tried to get the server (with my Wordpress blog) online. Somewhere (router - OSX - unRAID - Wordpress) I must have made a clumsy mistake (n00b-alert). I thought I got everything back to "normal", but every time I try to access the server directly (192.168.x.x:xx), the browser is directed to the unRAID main page, regardless of the port I use on the plugin settings page. I already re-installed the plugin, cleared the browser caches, cleared the Data Directory, new Data directory, etc .... Again it worked 100% at some point. This is (almost?) driving me crazy and any feedback is greatly appreciated!
April 27, 201214 yr I would start with completely removing the SF web server plug-in and see from there if everything is back to normal. To have a "clean" system: 1. Remove the folder "/boot/config/plugins/sf_webserver" 2. Remove the file "/boot/config/plugins/simplefeatures_webserver.plg" Reboot your system.
April 27, 201214 yr Thanks! I'm up and running again (local) .... To be honest: no clue how. Next challenge (again..?..) is to get my Wordpress blog online with my domain name ..
April 27, 201214 yr Author Essentially, these are required/ideal for external hosting: • External fixed IP • Domain name with dns records for www.domain.com & domain.com pointing to external IP • Site hosted on your internal network • Firewall configured to take request for port 80, which then forwards that onto your internal web server IP and port.
April 27, 201214 yr Thank you @speeding_ant - @bonienl External fixed IP = OK Domain name with dns records for www.domain.com & domain.com pointing to external IP = I think I got this covered through my ISP - www.dirksmolders.nl Site hosted on your internal network = OMG, Wordpress blog is up and running again on port 81, took me a while, but I got there (hallelujah ..) Firewall configured to take request for port 80, which then forwards that onto your internal web server IP and port = I think this is the part where I go wrong. Netgear router - Port Forwarding - Service HTTP - Port 81. What am I missing? Thanks again & take care!
April 28, 201214 yr Author In your lighttpd.conf.include file put: $HTTP["host"] =~ "(^|\.)dirksmolders\.nl$" { server.document-root = "/path/to/web/files" } The web server might not accept requests from the domain name, so specifically add this entry to make sure it responds to the domain name as well as the IP.
Archived
This topic is now archived and is closed to further replies.