The static configuration ip is as follows:
server:
ip =172.25.x.10,gateway=172.25.x.254,dns1=172.25.254.254
desktop:
ip=172.25.x.11,gateway=172.25.x.254,dns1=172.25.254.254< br>Turn on the desktop
Category: Cgi
CGI (Common Gateway Interface) is one of the most important technologies in WWW technology and has an irreplaceable important position. CGI is an interface standard between external applications (CGI programs) and WEB servers, and is a process of transferring information between CGI programs and Web servers. The CGI specification allows Web servers to execute external programs and send their output to a Web browser. CGI turns a set of simple static hypermedia documents on the Web into a complete new interactive media. Common Gateway Interface, CGI for short. Physically, it is a piece of program that runs on the server and provides an interface with the client’s HTML page. It may not be easy to understand this way. So let’s look at a practical example: most of the current personal homepages have a guestbook. The job of the guestbook is as follows: First, the user enters some information on the client, such as comments. Then the user clicks “Publish or Submit” (the work has been done on the client so far), the browser transmits this information to the specific CGI program in the CGI directory of the server, and the CGI program is processed on the server according to a predetermined method . In this case, the information submitted by the user is stored in the specified file. Then the CGI program sends a message to the client, indicating that the requested task has ended. At this time, the user will see the words “message end” in the browser. The whole process is over.
THTTPD installation and debugging
http://www.acme.com/software/thttpd/
thttpd is a very small and lightweight web server, it is very, very simple, and only provides HTTP/ 1.1 and simple CGI support, there is a comparison char
JBoss series forty four: JBPM5 example Gateway
If you select AND in GateWay in jBPM5, it means that multiple tasks are executed in parallel. The ParallelExecute example demonstrates how to execute multiple tasks in parallel in jBPM5. The Parall
[KONG series four] plug-in
The plug-in is to kong, just like the aop function in Spring.
After the request arrives in Kong and before forwarding to the back-end application, you can apply Kong’s built-in plug-in pair R
The relationship between Fastcgi and PHP-FPM
At first I was struggling with this issue. After reading the “HTTP Authoritative Guide”, I felt a lot clearer.
First of all, what does CGI do? CGI is to ensure that the data passed by the web
CGI reads the local file must set the file attribute to 666
Question: I wrote a cgi script in C language to read the string entered from the web page and append the string to a local text file data. txt;
The cgi script is as follows, the source file o
Popen problem cannot be used under CGI
The cgi program written in C language has a function to return the software version number. Because the software version number is not read from the file, it uses the command on linux: /usr/local/b
spawn-fcgi
An error occurred when running spawn-fcgi:
spawn-fcgi: child exited with: 0
-f Use absolute path! ! ! !
/usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 30012 -f /home/share/nginx-1.13.4/fcgi-2.4.0/examples/echo
Fastcgi installation multi-version PHP configuration method in IIS
Download two different php versions, such as this one:
php-5.2.17-nts-Win32-VC9-x86.zip
php-5.4.36-nts-Win32-VC9-x86.zip
(Zhaoxi.com only downloaded two versions, if you have more
CGI review
Reference:
Explain the difference between fastcgi and php-fpm: http://segmentfault.com/q/1010000000256516
What is CGI, FastCGI, PHP-CGI, PHP-FPM, Spawn-FCGI? :Http://www.mike.org.cn/art