http1.0/http1.1 standards;
It has a large number of extended APIs for user development;
SSL3.0 (Secure Sockets Layer) is supported, such as matrixssl (the latest version is matrixssl 3-2 );
Supports user group management;
Supports DAA access authentication;
Small memory usage. If SSL is not included, only 60 kb of memory is required. If SSL is included, KB of memory is required;
Web pages can be stored in ROM or file system;
Supports multiple operating systems, such as Linux, WinCE, and
pages can exist in ROM or file system.13. multiple operating systems are supported, such as ECOs, Linux, lynxos, QNX, VxWorks, WinCE, and PSOs.
Figure 1 goahead Running Effect.
Figure 2 Structure of the goahead source program
GoAhead Web Server is a small and exquisite Web Server launched by goahead in the early
you can directly change a few $ (CC) to arm-elf-GCC.Modify the goahead source code:========================================================== ======================================5. uClinux uses uclib-C (I used the lib to use uclib-C, but I have not tried it with uclibc)6. modify all macros not recognized by arm-elf-GCC. Rewrite these macros into one line. Generally, this is because"\"And so on.7. Change fork to vfork (main. C (Linux ))8.
. Load webserver under WindShellSp websvxmainEnter http: // 192.168.0.2/index. asp in the browser to access the/tffs0/webs/index. asp file.⑨ Asp programming:
GoAhead Asp programming requires a pre-defined Asp function. The following example is provided in the initWebs () function of main. c:WebsAspDefine (T ("aspTest"), aspTest );Here, aspTest () is defined as an Asp function. You can provide relevant funct
Note: After completing the goaheaders, output the single content of the front table to the back end. Modify route.txt in the configuration file. Otherwise, an error is reported.
1. First find the goahead. c file under the goahead-4.0.2/src directory
Declare a static int test (webs * WP) before its Mian );
Add
Websdefineaction ("test", test );
Defined after th
: Open vcpus and edit the webs.dsw directory in the source file directory. If no error occurs, execute webs.exe and enter http: //
Linux platform: If GCC is installed, open the terminal and go to the LINUX directory under the source file directory. (if necessary, modify the Makefile, mainly to locate the path of the compiler and other tools) make compilation, error:
Main. o: In function 'websgetcgicommname ':
/LINUX/main. c: 325: warning: the use of 'tempnam 'is dangerous, better use 'mkstemp'
Improvement on ROM of goahead 2.5 webpage
Goahead is the preferred tool for Embedded Web Server design. It converts HTML files and their resources *. the function of compiling C files into the final execution file provides a perfect solution for Embedded projects without a file system. The conversion principle is to convert files into several arrays in byte format, when a page request is sent,
Today, I tried to compile goahead. We can see that the goahead document contains information about how to use matrix to support SSL. The required matrix version in this document is 3.1.2, but the official website did not find this version to download.
So I downloaded the latest 3.4.2 and modified the makefile. the following error occurs when the compilation result is used!
Root @ jack-desktop :~ /Sof
I have done Web cgi programs on vswitches in the past. It was done on the 51 system. I remember that the Principles are similar. I made the pages into binary arrays, But now I forgot, I had to get familiar with it again. The following are from http://ajonbin.spaces.live.com/blog/cns! 5619a73390dcd51e! 132. Entry. If you have any copyright issues, please let me know.
Goahead, VxWorks, and CGI are the most closely-monitored clients in VxWorks. Basically
PrefaceIn an embedded device, you can use the Web to access the device, view the running status of the device, and make the parameter settings, similar to the router settings, without a liquid crystal display. There are a lot of comments online about the pros and cons of various web servers, and this is not discussed here, but some of the main points of the Goahead under Linux are introduced.Porting environmentArm + Linux 2.6, cross compiler ARM-UCLIB
Recently, an embedded web is mainly used to remotely control and manage device parameters. There is very little information about this on the internet, and there are few goahead documents. Now, we will summarize some basic behavior characteristics of goahead for future reference. There are several articles on the Internet.
1. goahead features
Supports HTML, CGI
https://embedthis.com/goahead/Started a 4g WiFi: using jquery, GoaheadGoahead webserver editor Goahead WebServer, it is a source code, free, powerful, can run on multiple platforms embedded WebServer. The main characteristics of Goahead webserver are: 1. Support ASP2. embedded in the JAVASCRIPT3. Standard CGI execution 4. In-memory CGI processing GOFROMS5. The ex
then click the Center Vertically button in the Alignment panel. This will get the graph shown in Figure 12.
Figure 12
13. Use the Ellipse tool to draw two small ellipses and place them as shown in Figure 13. Similarly, use the Pathfinder panel to combine two shapes into one and fill them with black.
Figure 13
14. Use the Oval tool to draw two small circles, as shown in Figure 14, 1. Then select the two circles and click the Subtract from Shape a
Summary: describes in detail how to upload (upload) files to the server on goAhead2.5. Development Environment: Host: WindowsXP; Virtual Machine: Ubuntu9.10; Cross Compiler: arm-uclibc-gcc (arm-linux-gcc-4.3.2 can be compiled successfully )---------------
Summary: describes in detail how to upload (upload) files to the server on goAhead 2.5.
Development Environment:
Host Machine: Windows XP;
Virtual Computer: Ubuntu 9.10;
Cross Compiler:Rm-Uclibc-
This tutorial introduces very classic spider webs and the method of making water droplets. The general process: the first simple to pave the background color. Then create a new layer and use a pen to hook up the spider web and paint it. Then use the brush point on some small points as water droplets, later to these small points and layer style, to make a sense of water droplets transparent.
Final effect
1, the ne
GoAhead Web Server comes with internal SSL support. it's disabled by default, and I haven't seen a tutorial around this topic on the web. so here is the my adventure of enabling it.
Difficulties with goaheadAccording to the goahead's feature page, SSL is fully supported. but it's not so convienent to enable it. the downloaded source package doesn' t include the source code of the SSL library that it depends It. even the distribution package (header f
ajax===http://blog.csdn.net/seuge/article/details/8209685
"Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML)
When we operate the page, we often just need to refresh a portion of the data on the page or even a text box data, but the traditional way of refreshing the server will send the entire page back to the browser, the browser load the entire page, so not only wasted bandwidth, and the entire page refresh is not smooth.
Ajax technology solves this problem, the idea of Ajax i
CGIProgramThe executable files are stored in the goahead/web/cgi-bin/directory, which can be directly compiled and generated using gcc. The webpage file is stored in the goahead/web/directory. The source file is as follows:
// Test. c
# Include # Include Int main (void){Char * data;Long M, N;Printf ("Content-Type: text/html/n ");Printf ("Printf ("Data = getenv ("QUERY_STRING ");If (Data = NULL)Printf ("El
transplantation. This is the reason.(3 )...
Thttpd defects:(1) The support for cgi1.1 standards is incomplete (with little influence) and other HTTP header processing required by the Protocol is not provided,Applications such as if-modified-since and accept-languageProgramIt cannot be received.(2) directly using socket to rewrite the CGI application will lead to a large amount of post data (such as uploading files ),The CGI application cannot respond to the browser without reading all the post
Symptom:
Recently, we are experiencing process hang with the GoAhead Web server. the symptom can be reproduced if we disconnect the network cable while the browser is loading a page. when it occurs, we can see that the process doesn't occupy any CPU resource with top command. and we can see there are a lot of connections in established, close_wait, time_wait, fin_wait status with netsstat-ATN command.
Ayalysis:
From the symptom we observed, there
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.