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

New update!

 

Please see the main SimpleFeatures post for future updates. This thread has now been relegated to support, or should be removed/merged by mods.

 

http://lime-technology.com/forum/index.php?topic=12698.msg120524#msg120524

 

 

 

 

 

I've created a WebServer plugin for unRAID. It has production conf files for PHP & Lighty. It's all wrapped up into a nice and easy to use package, with a web gui and easy to access configuration files.

 

All dependencies (hopefully) met for default modules (GD etc). Tried to keep as modern as possible. The package size is just shy of 20Mb. Uncompressed the libraries total 67Mb. Works great with the MySQL plugin wondering around. The lighttpd.conf.include in the /config/plugins/sf_webserver/lighttpd folder can be used to hold your own custom configs & sites. Same thing with the php.ini file. Any changes you make will remain on reboot.

 

Download from Google Code: simplefeatures_webserver.plg

Requires unRAID Version 5 Beta 12 and above.

Make sure no other PHP packages (via unMenu, etc) are installed before using this plugin!

 

Features:

Lighty Web Server 1.4.30: Light and quick web server

PHP 5.3.10 : With all the bells and whistles

WebGui Control: Stop/Start your web server, control which port & location. Check logs & version numbers.

 

Let me know what other features you might be wanting.

 

Install Instructions:

 

1. Download the PLG file. SimpleFeatures Base package is recommended.

 

2. Copy simplefeatures_webserver.plg to /boot(flash)/config/plugins/

 

4. Reboot or use installplg /boot/config/plugins/simplefeatures_webserver.plg

 

Change Log:

1.1 - Misc bug fixes

 

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.

 

0.3 - Fixed port disappearing act on startup. Auto create data folder, with welcome screen. Fixed logging issue.

 

0.2 - Added webgui functions for checking logs, added pizzaz.

 

0.1 - Initial Plugin

Screen_Shot_2012-04-11_at_11_33.01_PM.png.acdc44b75a00fd1ecdd6e6af1dfd9a34.png

Screen_Shot_2012-04-12_at_12_07.20_PM.png.e26d88ca79484be8c8518a009ffc8491.png

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

WE'RE NO WORTHY!!!

WE'RE NO WORTHY!!!

WE'RE NO WORTHY!!!

 

Right on Speeding, you need to start taking donations for all this excellent work

Whooo, We need even MORE features in SimpleFeatures  ;)8)  what comming next ? ;):-*

 

//Peter

  • Author

http://www.pixeleyes.co.nz

 

Our personal site is now being hosted by unRAID  :)  Port translation is a mighty wonderful thing. Server holding up over the last couple of days, no problems or memory leaks that I can see. Was worried the replacement PHP/libtool would affect the stock webGui, but hasn't appeared to have done so. If anything it's faster & better featured.

 

For anyone interested, response headers below:

 

Server SimpleFeatures - lighttpd

Transfer-Encoding chunked

X-Powered-By PHP/5.3.6

very nice.

 

following

  • Author

Try it out, give some feedback!

 

Cheers  8)

Will try it first thing in the morning to see how it runs / if it runs the virtual box manager web interface properly.  Kudos, awesome features you're bringing to the table .

after installing plg i am getting the following spewed to my default console over and over

 

PHP Warning:  PHP Startup: sqlite3: Unable to initialize module

Module compiled with API=20090626, debug=0, thread-safety=0

These options need to match

in Unknown on line 0

 

over and over and over - cannot use tty1 at all

 

Myk

 

  • Author

What version of unRAID are you running?

sorry, latest beta b14

 

also, since updating to .2 or .02 - config is not keeping my port so it does not auto start.....

 

Myk

 

# Web Server configuration

SERVICE="enable"

DATADIR="/mnt/cache/.www"

WEBPORT="81"

 

# lighttpd_server.conf.include

server.document-root = "/mnt/cache/.www"

server.port = 81

  • Author

Are you still getting the SQLite errors? Even after restart?

 

I'll checkout the port dissapearing act, just happened to me too ;)

yes, still scrolling on tty1 - set repeats about every 4 seconds

 

and only on tty1 - nothing else is showing up in any log file...

 

Myk

 

also "2012-04-12 01:47:27: (log.c.166) server started " in the error.log is a little misleading - maybe put in access.log instead....

 

when I 1st looked and saw 49 characters in error.log - it was like "what?"  :)

 

Myk

 

  • Author

yes, still scrolling on tty1 - set repeats about every 4 seconds

 

and only on tty1 - nothing else is showing up in any log file...

 

Myk

 

How strange...  do you have any other packages installed? Only thing I can think of is if another package is replacing a lib dependency with an older one.

 

Also try commenting out mysqlite.so & mysqlite3.so modules in php.ini file.

 

That issue isn't happening on either of my rigs so I'm presuming it's third party?

  • Author

also "2012-04-12 01:47:27: (log.c.166) server started " in the error.log is a little misleading - maybe put in access.log instead....

 

when I 1st looked and saw 49 characters in error.log - it was like "what?"  :)

 

Myk

 

Just to keep you on your toes  ;)

installed. change the default data directory. disable and reenable. since the new default directory is not automatically created, i created the directory myself. then i created empty index.htm file.

 

when i try to open http://tower:81/index.htm, all i get is

 

 

This program cannot display the webpage

 

Most likely causes:

•You are not connected to the Internet.

•The website is encountering problems.

•There might be a typing error in the address.

 

What you can try:

 

Check your Internet connection. Try visiting another website to make sure you are connected.

Retype the address.

Go back to the previous page.

 

 

thanks.

think it is looking for index.html or index.php

 

mine is a index.html

only other thing i can think of that might be conflicting is the subsonic package?

 

Myk

 

  • Author

Thanks for testing guys. Can you test if it works via the IP of the server as well?

 

Cheers :)

server is rebooting now to see

 

in the php.ini there were the following

 

mysql.so

mysqli.so

sqlite.so

sqlite3.so

 

i commented out the 2 sqlite ones as that was what showing up on the screen

 

will post again here when reboot is finished

 

Myk

 

  • Author

installed. change the default data directory. disable and reenable. since the new default directory is not automatically created, i created the directory myself. then i created empty index.htm file.

 

when i try to open http://tower:81/index.htm, all i get is

 

 

Do you think the default behaviour should be to create the data dir?

other packages do that if they dont exist

  • Author

Right-o, I'll code that in. Fixed the port issue on reboot along with the log issue.

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.