Skip to content

abhi-bhatra/CGIprogramming-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python CGI Programming

Python CGI Programmaning is the web app created using Python as backend and HTML-CSS as Frontend. We used Apache2 server to host the web app. The App is created on Virtual Machine.

Steps to create

  1. Install Apache2 Web Server sudo apt-get install apache2
  2. Check the firewall sudo ufw allow list
  3. Check if Apache2 is running sudo systemctl status apache2
  4. If Apache2 is stopped, run sudo systemctl start apache2
  5. Open nano /var/www/html/index.html and add the content
  6. Create a directory mkdir /var/www/cgi-bin
  7. Add content nano /var/www/cgi-bin/test.py

Now run the script at yourlocalhost or the Public Ip if is running in the VM

Releases

No releases published

Packages

No packages published