Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Here's the entire assignment. Please keep in mind that I just want help for the .cgi urls. So if you go down you'll see the
Here's the entire assignment. Please keep in mind that I just want help for the .cgi urls. So if you go down you'll see the steps for how to make the .cgi url and all the functions that go into that. If you're feeling really generous you can help with the whole thing but .cgi urls is the big issue.
Description You shall write a very basic Web server in JavaScript that will run via nodejs Requirements: You shall submit your assignment as a ZIP file (even if just one file to the CSPortal by the due date/time You can work in teams of two Only one team member shall turn in the assignment. I will grade the latest version submitted by any team member Your name (s) shall be at the top of the source course and in any documentation files Your JavaScript can use the modules included in the basic nodejs system You cannot use any external modules You cannot install any extra modules The assignment can and should be completed with the modules listed in the requirements The server should execute and run properly on the CS. UKY ED systems You should adhere to the guide Dr. Finkel wrote on good programming practices I will grade more strictly on these guidelines for this assignment Your project shall include the following line: var paul require ('/homes/paul/HTML/CS316/p3 req. js'); Your project will accept HTTP requests via URLs in the following format or /la-ZA-ZO-9_] .html or In other words, any filename ending in .cgi or html or .php whose base name is alphanumeric (plus underscore) proceeded by a slash (1) Valid examples: /index.html ame html /paul linton. html the Date.cgi /get Directory cgi /getdir cgi F I L E html /some prog. php Description You shall write a very basic Web server in JavaScript that will run via nodejs Requirements: You shall submit your assignment as a ZIP file (even if just one file to the CSPortal by the due date/time You can work in teams of two Only one team member shall turn in the assignment. I will grade the latest version submitted by any team member Your name (s) shall be at the top of the source course and in any documentation files Your JavaScript can use the modules included in the basic nodejs system You cannot use any external modules You cannot install any extra modules The assignment can and should be completed with the modules listed in the requirements The server should execute and run properly on the CS. UKY ED systems You should adhere to the guide Dr. Finkel wrote on good programming practices I will grade more strictly on these guidelines for this assignment Your project shall include the following line: var paul require ('/homes/paul/HTML/CS316/p3 req. js'); Your project will accept HTTP requests via URLs in the following format or /la-ZA-ZO-9_] .html or In other words, any filename ending in .cgi or html or .php whose base name is alphanumeric (plus underscore) proceeded by a slash (1) Valid examples: /index.html ame html /paul linton. html the Date.cgi /get Directory cgi /getdir cgi F I L E html /some prog. phpStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started