Simple web server


5 posts
by bbl232 » Fri Jan 04, 2013 4:12 pm
If you would like a simple web server to run on your RPi and don't want your performance taken from you be apache, check out my server script that you can run to serve up simple web pages. It is available on my website. (which is hosted from my RPi and uses this script.)
Code: Select all
http://vandenberk.me/rpwserver/RPWServer.htm
I am planning on adding PHP functionality to this script eventually, but for now I know it works with HTML, CSS, Plain-Text, and downloading files (like the archive you download the script in).
Posts: 3
Joined: Sat Sep 22, 2012 2:21 pm
by bbl232 » Sun Jan 13, 2013 10:27 pm
UPDATE: I have added PHP support to the script! feel free to head on over to my website and download the new version!
Code: Select all
http://vandenberk.me
Posts: 3
Joined: Sat Sep 22, 2012 2:21 pm
by RTL » Sat Jan 19, 2013 3:49 pm
Another alternative is BarracudaDrive.

The BarracudaDrive web and application server is light and is specifically designed for resource constrained devices such as the Raspberry Pi.

http://store.raspberrypi.com/projects/barracudadrive

BarracudaDrive is internally using a scripting language called Lua and this scripting language is similar to Python. You can write your own Lua programs for BarracudaDrive as explained on this page:

http://barracudadrive.com/LuaServerPages.lsp
User avatar
Posts: 29
Joined: Tue Jan 15, 2013 6:05 pm
Location: California
by namtih » Fri Jan 25, 2013 5:16 pm
Hello Bill,

I would like to test your web server with the tool DownloadDaemon:
http://downloaddaemon.sourceforge.net

I've downloaded the zip file, unzipped it and tried the command "make". But I only get this error message:
Code: Select all
make: *** No rule to make target `all', needed by `default'.  Stop.


Can you please help to find the correct command?
Do you also have a init.d script to load the web server on startup?
Posts: 5
Joined: Mon Jan 21, 2013 1:28 pm
by bbl232 » Tue Feb 05, 2013 3:27 pm
namtih wrote:Hello Bill,

I would like to test your web server with the tool DownloadDaemon:
http://downloaddaemon.sourceforge.net

I've downloaded the zip file, unzipped it and tried the command "make". But I only get this error message:
Code: Select all
make: *** No rule to make target `all', needed by `default'.  Stop.


Can you please help to find the correct command?
Do you also have a init.d script to load the web server on startup?


Hey. Sorry, I tried to reply a couple of days ago but apparently I clicked report instead of reply. Haha. The makefile is an unnecessary piece of "convenience code". Since the server is written in perl it does not need to be "compiled" but rather, "interpreted" this is a kind of simultaneous compilation, linking and execution. You can run the script by itself from './bin/serv.pl'. Not sure why 'all' came up as a target in the makefile, but if you call 'make echo' it may fix the issue. The only problem with running directly, is that the file structure will be different and the makefile creates the configuration file.

Also, make sure you are in the root directory of the unzipped archive.
Posts: 3
Joined: Sat Sep 22, 2012 2:21 pm