LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-05-2011, 02:53 PM   #1
vogelpi
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,

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

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

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markjuggles View Post
Have you investigated nginx?
Hi,
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.

Regards,

Pi
 
Old 01-02-2012, 10:33 AM   #4
vogelpi
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.
 
  


Reply



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 11:20 AM
How to setup Bind 9 to support web and mail server? debianfan Linux - Server 4 03-15-2010 07:25 PM
php support for thttpd web server gabsik Linux - Networking 0 08-30-2006 09:44 AM
Good lightweight web browser jordanGSU Linux - Software 1 10-11-2004 04:29 PM
Web Server to support asp pages? sikandar Linux - Software 6 10-27-2003 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:43 AM.

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