Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"SimpleFeatures" - WebServer Plugin [SUPPORT]

Featured Replies

  • 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  ;)

  • Replies 307
  • Views 96k
  • Created
  • Last Reply

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?

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...

  • 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.

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.  :D

 

Any chance of adding a LOG purge button ?

Will give this a go then :)

It looks like this binds to the incorrect IP address when running Hamachi (VPN). Is there a way to set which interface to use?

  • 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!

Ahh, perfect. Thanks for the tip.

 

Great work, By the way. As always!

  • 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!

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?

 

  • Author

Was going to say (just looking at the same thing) - best thing for us would be to fix those warnings  :P  It seems to be slowing down the page draw anyway. I can quickly do that before posting the next SF update.

See my PM, indeed lets try to fix this together with the pending updates...

 

Thanks.

  • Author

Already on it  :)  Cheers for the continual effort and support put into SimpleFeatures.

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"  :D

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  :o

  • 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  :o

 

Haha, cheers  :)  Yes hardwareStats creates a warning for EACH data point. Yikes!

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

:'( 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!

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.

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 ..

  • 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.

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!

 

 

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.