linux_wiki:deploy_a_basic_cgi_application

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:deploy_a_basic_cgi_application [2018/04/09 22:54]
billdozor [Lab Setup]
linux_wiki:deploy_a_basic_cgi_application [2019/05/25 23:50] (current)
Line 28: Line 28:
  
 #!/bin/bash #!/bin/bash
-echo "Content-type: text" +echo -e "Content-type: text\n"
-echo+
 echo "This is the current time on the system: $(date)" echo "This is the current time on the system: $(date)"
 </code> </code>
 +  * **Note**: There MUST be a newline after the "Content-type: text" line in order for the cgi script to work correctly. (Either in the form above with 'echo -e' and the '\n' or another empty echo command) 
  
 \\ \\
  • linux_wiki/deploy_a_basic_cgi_application.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)