# CGI HTTP server# # Getting StartedPython 2.x is preferred-this-simple demo. I ' m using Python 2.7 over Windows.* https://docs.python.org/2.7/library/cgihttpserver.html* https://docs.python.org/2.7/library/cgi.html# # Starting a cgihttpserver
$ python-m Cgihttpserver 8000
serving HTTP on 0.0.0.0 Port 8000 ...
# # CGI Script, Hello World
$ mkdir cgi-bin/
$ vim cgi-
This article is mainly about the Openresty server using LUA script to write Hello World simple instance, Openresty (also known as Ngx_openresty) is a full-featured Web application server. It packs the standard Nginx core, many of the most commonly used third-party modules, and most of their dependencies, and the friends you need can refer to the
Openresty provid
# CGI HTTP server# # Getting StartedPython 2.x is preferred-this-simple demo. I ' m using Python 2.7 over Windows.* https://docs.python.org/2.7/library/cgihttpserver.html* https://docs.python.org/2.7/library/cgi.html# # Starting a cgihttpserver
$ python-m cgihttpserver 8000
serving HTTP on 0.0.0.0 Port 8000 ...
# # CGI Script, Hello World
$ mkdir cgi-bin/
$ vim cgi-bi
technical engineers in the computer room monitoring and service, do not worry about the time to add resources when processing is not timely, to check the problem when the service is not timely, to help you solve the after-sales worries, at the same time we also on the service of the project has the company charges, we free, to ensure that you can enjoy the service of the highest cost-effective service3. The line is stable, we connect Hong Kong and Kee, Wharf, NTT, New
reproduced from Wind Yu Chong Unity3d Tutorial CollegeIntroduction: PHP is a relatively simple programming language, even if not touched can be learned now.PHP Tutorial DocumentationPHP100 Video TutorialUnity receives the output of PHP Hello world.Enter the WWW folder, right-click New text document, named helloworld.php, open with Notepad, enter the following code, save.Echo is similar to cout or print, which outputs text content in a Web pageecho "Hello wor
Openresty provides a wealth of interfaces and variables to LUA, and developers can leverage the Lua language features and these interfaces for efficient development. Everything is hard at the beginning, but it is half the success of programming to write Hello World.
1. Installation Openresty
2. Configure Nginx
Copy Code code as follows:
server {
Listen 80;
server_name localhost;
aservermodule, as follows:server { listen 8011; server_name localhost; charset utf-8; location / { alias /home/michael/test_space/; }}whichlistenIndicates the port number of the listener,sever_nameis thewebThe name of the server (which can be a domain name, host, or IP address),charsetSpecifies the coded character set, where thelocationThen throughaliasSpecify awebThe file directory of the service.5. Start NginxEnter
Install:Install -G vue-cliInit Project:Vue Init nuxt/starter.Run:NPM Run DevCreate a index.js file inside Store folder:Import Vuex from ' Vuex 'new vuex.store ({State : { 0 default StoreDisplay the counter inside Pages/index.vue:Template> Div>Counter: {{Counter}}Div>Template>Script>Import {mapstate} from'Vuex'Exportdefault{computed:mapstate ({counter: (state)=state.counter})}Script>Mapstate:return a state tree object.We can also write: computed: { ... mapstate ({= = state.c
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.