Jump to content
speeding_ant

"SimpleFeatures" - WebServer Plugin [SUPPORT]

308 posts in this topic Last Reply

Recommended Posts

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

Share this post


Link to post

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

Share this post


Link to post

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

 

//Peter

Share this post


Link to post

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

Share this post


Link to post

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 .

Share this post


Link to post

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

 

Share this post


Link to post

sorry, latest beta b14

 

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

 

Myk

 

Share this post


Link to post

# Web Server configuration

SERVICE="enable"

DATADIR="/mnt/cache/.www"

WEBPORT="81"

 

# lighttpd_server.conf.include

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

server.port = 81

Share this post


Link to post

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

 

Share this post


Link to post

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

 

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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.

Share this post


Link to post

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

 

Myk

 

Share this post


Link to post

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

 

Share this post


Link to post

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?

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.