Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 12-05-2011, 03:53 PM   #1
LQ Newbie
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
Lightweight web server with XMLHttpRequest support

Hello everybody,

I am searching for a lightweight web server with XMLHttpRequest support. I am totally new to this web server/HTTP/JavaScript and AJAX things, and since I don't know to which API this XMLHttpRequest-method belongs, I don't know which standards the web server must support. That's why I have decided to ask you!

The target system is a Xilinx Virtex-4 FX12 Mini-Module from Avnet which has
  • Xilinx Virtex-4 FPGA with a PowerPC 405 micro processor
  • 64 MByte RAM: serves as RAM and holds the filesystem
  • 4 MByte FLASH Memory: holds the compressed filesystem image
  • Gigabit Ethernet PHY

The OS is based on xlnx-linux-2.6 (Xilinx Linux) and the filesystem including programs has been generated using Buildroot and BusyBox. Currently, I'm using the httpd web server provided by BusyBox. Unfortunately, this one seems not to support XMLHttpRequests.

Here are my questions for you:
  1. Is it possible to make the current web server supporting XMLHttpRequests?
  2. To which API does the XMLHttpRequest method belong? What should I check a potential web server for?
  3. Are there any web servers you can recommend to me? Note: Due to the 4MByte FLASH memory for the filesystem, the web server must be really lightweight!
  4. Do you have any ideas where I could get some input or help?

Thank you! Best regards,

Old 12-05-2011, 07:55 PM   #2
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Rep: Reputation: 15
Have you investigated nginx?
Old 12-08-2011, 04:43 AM   #3
LQ Newbie
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Originally Posted by markjuggles View Post
Have you investigated nginx?
a friend of mine told me to do so. I have just found out, that any web server that can HTML should be able to handle these XMLHttpRequest as they are just normal HTML request on the server side.
I will now debug my code and see whether it is possible or not with the current web server. I will report back and let you know.


Old 01-02-2012, 11:33 AM   #4
LQ Newbie
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I found out that the JavaScript code example I used was terribly wrong.
Indeed, every standard web server can handle XMLHttpRequests as they are just Http requests on the server side.

Problem solved.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web server with monitoring support dashko Linux - Server 2 06-22-2010 12:20 PM
How to setup Bind 9 to support web and mail server? debianfan Linux - Server 4 03-15-2010 08:25 PM
php support for thttpd web server gabsik Linux - Networking 0 08-30-2006 10:44 AM
Good lightweight web browser jordanGSU Linux - Software 1 10-11-2004 05:29 PM
Web Server to support asp pages? sikandar Linux - Software 6 10-27-2003 04:06 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration